diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index a3c1c75030..0395a079b0 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -482,9 +482,11 @@ function prepend_attachment($content) { // function get_the_password_form() { + global $post; + $label = 'pwbox-'.(empty($post->ID) ? rand() : $post->ID); $output = '

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

-

+

'; return $output;