Commit 4058b11c authored by Sergey Biryukov's avatar Sergey Biryukov

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.
Built from https://develop.svn.wordpress.org/trunk@38604


git-svn-id: http://core.svn.wordpress.org/trunk@38547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent d31057a0
......@@ -799,11 +799,13 @@ function post_password_required( $post = null ) {
}
/**
* Filter whether a post requires the user to supply a password.
* Filters whether a post requires the user to supply a password.
*
* @since 4.7.0
*
* @param bool $required Whether the user needs to supply a password. True if password has not been
* provided or is incorrect, false if password has been supplied or is not required.
* @param WP_Post $post Post data.
* @param WP_Post $post Post data.
*/
return apply_filters( 'post_password_required', $required, $post );
}
......
......@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38603';
$wp_version = '4.7-alpha-38604';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment