From 740d615ce2783c03bf84a47bbfad14f2ab7a6f8c Mon Sep 17 00:00:00 2001 From: Andrew 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: https://develop.svn.wordpress.org/trunk@21124 602fd350-edb4-49c9-b593-d223f7449a82 --- 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); }