mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-21 00:02:44 +00:00
Docs: Use typed array notation in the update_post_term_count_statuses filter DocBlock.
Follow-up to [50169]. See #38843. git-svn-id: https://develop.svn.wordpress.org/trunk@50231 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
73b353ef95
commit
a07d734d77
@ -3898,8 +3898,8 @@ function _update_post_term_count( $terms, $taxonomy ) {
|
||||
*
|
||||
* @since 5.7.0
|
||||
*
|
||||
* @param array $post_statuses List of post statuses to include in the count. Default is 'publish'.
|
||||
* @param WP_Taxonomy $taxonomy Current taxonomy object.
|
||||
* @param string[] $post_statuses List of post statuses to include in the count. Default is 'publish'.
|
||||
* @param WP_Taxonomy $taxonomy Current taxonomy object.
|
||||
*/
|
||||
$post_statuses = esc_sql( apply_filters( 'update_post_term_count_statuses', $post_statuses, $taxonomy ) );
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user