From a07d734d772f4e809004c04d972a5b0367fdde27 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 5 Feb 2021 19:11:15 +0000 Subject: [PATCH] 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 --- src/wp-includes/taxonomy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 6255324467..b250e0feef 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -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 ) );