mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 05:38:07 +01:00
Hide password on user end - http://mosquito.wordpress.org/view.php?id=1016
git-svn-id: https://develop.svn.wordpress.org/trunk@2402 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
16afe16dbe
commit
48b52b3aa9
@ -3,7 +3,7 @@
|
||||
function get_the_password_form() {
|
||||
$output = '<form action="' . get_settings('siteurl') . '/wp-pass.php" method="post">
|
||||
<p>' . __("This post is password protected. To view it please enter your password below:") . '</p>
|
||||
<p><label>' . __("Password:") . ' <input name="post_password" type="text" size="20" /></label> <input type="submit" name="Submit" value="Submit" /></p>
|
||||
<p><label>' . __("Password:") . ' <input name="post_password" type="password" size="20" /></label> <input type="submit" name="Submit" value="Submit" /></p>
|
||||
</form>
|
||||
';
|
||||
return $output;
|
||||
|
Loading…
x
Reference in New Issue
Block a user