Make WordPress Core

Changeset 50231


Ignore:
Timestamp:
02/05/2021 07:11:15 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Use typed array notation in the update_post_term_count_statuses filter DocBlock.

Follow-up to [50169].

See #38843.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r50169 r50231  
    38993899     * @since 5.7.0
    39003900     *
    3901      * @param array         $post_statuses List of post statuses to include in the count. Default is 'publish'.
    3902      * @param WP_Taxonomy   $taxonomy      Current taxonomy object.
     3901     * @param string[]    $post_statuses List of post statuses to include in the count. Default is 'publish'.
     3902     * @param WP_Taxonomy $taxonomy      Current taxonomy object.
    39033903     */
    39043904    $post_statuses = esc_sql( apply_filters( 'update_post_term_count_statuses', $post_statuses, $taxonomy ) );
Note: See TracChangeset for help on using the changeset viewer.