Make WordPress Core


Ignore:
Timestamp:
09/22/2017 06:33:11 PM (7 years ago)
Author:
SergeyBiryukov
Message:

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

Props coffee2code.
Fixes #41959.

File:
1 edited

Legend:

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

    r40898 r41567  
    785785
    786786    if ( empty( $post->post_password ) ) {
    787         /** This filter is documented in wp-includes/post.php */
     787        /** This filter is documented in wp-includes/post-template.php */
    788788        return apply_filters( 'post_password_required', false, $post );
    789789    }
    790790
    791791    if ( ! isset( $_COOKIE[ 'wp-postpass_' . COOKIEHASH ] ) ) {
    792         /** This filter is documented in wp-includes/post.php */
     792        /** This filter is documented in wp-includes/post-template.php */
    793793        return apply_filters( 'post_password_required', true, $post );
    794794    }
Note: See TracChangeset for help on using the changeset viewer.