From a8d455a78f3621198d15c38282a16432ca7eaec5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 5 Feb 2021 19:13:09 +0000 Subject: [PATCH] Docs: Use typed array notation in the `update_post_term_count_statuses` filter DocBlock. Follow-up to [50169]. See #38843. Built from https://develop.svn.wordpress.org/trunk@50231 git-svn-id: http://core.svn.wordpress.org/trunk@49892 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 6255324467..b250e0feef 100644 --- a/wp-includes/taxonomy.php +++ b/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 ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 3e3e700325..4201c890d5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-beta1-50230'; +$wp_version = '5.7-beta1-50231'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.