Ticket #23603: 23603.diff
File 23603.diff, 880 bytes (added by , 12 years ago) |
---|
-
wp-includes/post-template.php
1250 1250 $post = get_post( $post ); 1251 1251 $label = 'pwbox-' . ( empty($post->ID) ? rand() : $post->ID ); 1252 1252 $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> 1254 1254 <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> 1255 1255 </form> 1256 1256 ';