WordPress.org

Make WordPress Core

Changeset 38604


Ignore:
Timestamp:
09/14/16 21:36:18 (11 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add a @since entry for the post_password_required filter introduced in [38603].

Use a third-person singular verb for the filter description.

See #38056.

File:
1 edited

Legend:

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

    r38603 r38604  
    800800 
    801801    /** 
    802      * Filter whether a post requires the user to supply a password. 
     802     * Filters whether a post requires the user to supply a password. 
     803     * 
     804     * @since 4.7.0 
    803805     * 
    804806     * @param bool    $required Whether the user needs to supply a password. True if password has not been 
    805807     *                          provided or is incorrect, false if password has been supplied or is not required. 
    806      * @param WP_Post $post Post data. 
     808     * @param WP_Post $post     Post data. 
    807809     */ 
    808810    return apply_filters( 'post_password_required', $required, $post ); 
Note: See TracChangeset for help on using the changeset viewer.