From 4e8f4e57d150ef06350830fee2256eb04d6b0dbe Mon Sep 17 00:00:00 2001 From: nacin Date: Tue, 26 Jun 2012 03:20:51 +0000 Subject: [PATCH] Fix validation issue in get_the_password_form() caused by wpautop(). see #21018 for trunk. git-svn-id: http://core.svn.wordpress.org/trunk@21124 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 5a414eaf5a..b5b8847e90 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -1220,7 +1220,7 @@ function get_the_password_form() { $output = '

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

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