Docs: Correct filename references in duplicate hook comments for `post_password_required` filter.

Props coffee2code.
Fixes #41959.
Built from https://develop.svn.wordpress.org/trunk@41567


git-svn-id: http://core.svn.wordpress.org/trunk@41400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-09-22 18:34:45 +00:00
parent c2dcfa5278
commit ba67e5f09c
2 changed files with 3 additions and 3 deletions

View File

@ -784,12 +784,12 @@ function post_password_required( $post = null ) {
$post = get_post($post);
if ( empty( $post->post_password ) ) {
/** This filter is documented in wp-includes/post.php */
/** This filter is documented in wp-includes/post-template.php */
return apply_filters( 'post_password_required', false, $post );
}
if ( ! isset( $_COOKIE[ 'wp-postpass_' . COOKIEHASH ] ) ) {
/** This filter is documented in wp-includes/post.php */
/** This filter is documented in wp-includes/post-template.php */
return apply_filters( 'post_password_required', true, $post );
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-alpha-41566';
$wp_version = '4.9-alpha-41567';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.