added P tags around the 'enter your password' message
git-svn-id: https://develop.svn.wordpress.org/trunk@391 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
77ab96d9ef
commit
afbd07dd86
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
if (!empty($post->post_password)) { // if there's a password
|
if (!empty($post->post_password)) { // if there's a password
|
||||||
if ($HTTP_COOKIE_VARS['wp-postpass'] != $post->post_password) { // and it doesn't match the cookie
|
if ($HTTP_COOKIE_VARS['wp-postpass'] != $post->post_password) { // and it doesn't match the cookie
|
||||||
echo("Enter your password to view comments");
|
echo("<p>Enter your password to view comments.<p>");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user