diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 06d259e157..1fc316eb6c 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -1232,13 +1232,12 @@ function prepend_attachment($content) { */ function get_the_password_form( $post = 0 ) { $post = get_post( $post ); - $label = 'pwbox-' . ( empty($post->ID) ? rand() : $post->ID ); - $output = '
-

' . __("This post is password protected. To view it please enter your password below:") . '

-

-
+ $output = '
+

' . __( 'This post is password protected. To view it please enter your password below:' ) . '

+

+
'; - return apply_filters('the_password_form', $output); + return apply_filters( 'the_password_form', $output ); } /**