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
This commit is contained in:
parent
a80f705d97
commit
a8d455a78f
|
@ -3898,8 +3898,8 @@ function _update_post_term_count( $terms, $taxonomy ) {
|
||||||
*
|
*
|
||||||
* @since 5.7.0
|
* @since 5.7.0
|
||||||
*
|
*
|
||||||
* @param array $post_statuses List of post statuses to include in the count. Default is 'publish'.
|
* @param string[] $post_statuses List of post statuses to include in the count. Default is 'publish'.
|
||||||
* @param WP_Taxonomy $taxonomy Current taxonomy object.
|
* @param WP_Taxonomy $taxonomy Current taxonomy object.
|
||||||
*/
|
*/
|
||||||
$post_statuses = esc_sql( apply_filters( 'update_post_term_count_statuses', $post_statuses, $taxonomy ) );
|
$post_statuses = esc_sql( apply_filters( 'update_post_term_count_statuses', $post_statuses, $taxonomy ) );
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue