Ticket #35042: 35042-2.diff
| File 35042-2.diff, 1.0 KB (added by , 10 years ago) |
|---|
-
wp-includes/post-template.php
1525 1525 $label = 'pwbox-' . ( empty($post->ID) ? rand() : $post->ID ); 1526 1526 $output = '<form action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post' ) ) . '" class="post-password-form" method="post"> 1527 1527 <p>' . __( 'This content is password protected. To view it please enter your password below:' ) . '</p> 1528 <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></form>1528 <p><label for="' . $label . '">' . __( 'Password:' ) . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr__( 'View Post' ) . '" /></p></form> 1529 1529 '; 1530 1530 1531 1531 /**