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
This commit is contained in:
Andrew Nacin 2012-06-26 03:20:51 +00:00
parent 4d33587bdc
commit 740d615ce2
1 changed files with 1 additions and 1 deletions

View File

@ -1220,7 +1220,7 @@ function get_the_password_form() {
$output = '<form action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post' ) ) . '" method="post">
<p>' . __("This post is password protected. To view it please enter your password below:") . '</p>
<p><label for="' . $label . '">' . __("Password:") . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr__("Submit") . '" /></p>
</form>
</form>
';
return apply_filters('the_password_form', $output);
}