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 = '
'; return apply_filters( 'the_password_form', $output );