From ba67e5f09c7218e1f927a6c75fd7f229cf175128 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 22 Sep 2017 18:34:45 +0000 Subject: [PATCH] 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 --- wp-includes/post-template.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 37343733d1..7d7786abcb 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -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 ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index f9b683e272..3a742b147d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.