Skip to content

Commit 5c8bbc9

Browse files
Fixed 64853 : Inconsistent Post Count in Category Taxonomy
1 parent 3f4f2ca commit 5c8bbc9

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)