WordPress.org

Make WordPress Core

Ticket #23603: 23603.diff

File 23603.diff, 880 bytes (added by MikeHansenMe, 11 months ago)
  • wp-includes/post-template.php

     
    12501250        $post = get_post( $post ); 
    12511251        $label = 'pwbox-' . ( empty($post->ID) ? rand() : $post->ID ); 
    12521252        $output = '<form action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post' ) ) . '" method="post"> 
    1253         <p>' . __("This post is password protected. To view it please enter your password below:") . '</p> 
     1253        <p>' . __("This content is password protected. To view it please enter your password below:") . '</p> 
    12541254        <p><label for="' . $label . '">' . __("Password:") . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr__("Submit") . '" /></p> 
    12551255</form> 
    12561256        ';