diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 1fc316eb6c..facb36edd8 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -1232,9 +1232,10 @@ 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:' ) . '

-

+

'; return apply_filters( 'the_password_form', $output );