Make WordPress Core

Changeset 35484


Ignore:
Timestamp:
11/01/2015 02:05:42 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct $post parameter description for display_post_states filter.

Props grapplerulrich.
Fixes #34541.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template-functions.php

    r35459 r35484  
    16871687     * @since 2.8.0
    16881688     *
    1689      * @param array $post_states An array of post display states.
    1690      * @param int   $post        The post ID.
     1689     * @param array   $post_states An array of post display states.
     1690     * @param WP_Post $post        The current post object.
    16911691     */
    16921692    $post_states = apply_filters( 'display_post_states', $post_states, $post );
Note: See TracChangeset for help on using the changeset viewer.