Make WordPress Core

Changeset 35240


Ignore:
Timestamp:
10/17/2015 02:23:05 PM (11 years ago)
Author:
DrewAPicture
Message:

Docs: Improve the hook doc for the get_post_status filter, introduced in [35233].

Also adds a missing parameter description for $post.

See #23458. See #32246.

File:
1 edited

Legend:

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

    r35233 r35240  
    575575
    576576        /**
    577          * Filters the post status.
     577         * Filter the post status.
    578578         *
    579579         * @since 4.4.0
    580580         *
    581          * @param string  $post->post_status The status of the post.
     581         * @param string  $post_status The post status.
     582         * @param WP_Post $post        The post object.
    582583         */
    583584        return apply_filters( 'get_post_status', $post->post_status, $post );
Note: See TracChangeset for help on using the changeset viewer.