Skip to content

Commit a4387d2

Browse files
Fix for Ticket #64853: Include future posts in term counts
1 parent 474a396 commit a4387d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/taxonomy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4169,7 +4169,7 @@ function _update_post_term_count( $terms, $taxonomy ) {
41694169
$object_types = esc_sql( array_filter( $object_types, 'post_type_exists' ) );
41704170
}
41714171

4172-
$post_statuses = array( 'publish' );
4172+
$post_statuses = array( 'publish', 'future' );
41734173

41744174
/**
41754175
* Filters the post statuses for updating the term count.

0 commit comments

Comments
 (0)