WordPress.org

Make WordPress Core

Ticket #21797: 21797.patch

File 21797.patch, 443 bytes (added by c3mdigital, 20 months ago)
  • wp-includes/post-template.php

     
    261261        if ( !empty( $deprecated ) ) 
    262262                _deprecated_argument( __FUNCTION__, '2.3' ); 
    263263 
     264        $post = get_post(); 
     265 
    264266        if ( post_password_required() ) { 
    265267                return __( 'There is no excerpt because this is a protected post.' ); 
    266268        }