mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-16 07:35:39 +01:00
Hide password on user end - http://mosquito.wordpress.org/view.php?id=1016
git-svn-id: http://svn.automattic.com/wordpress/trunk@2402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b9433193df
commit
735666f3c0
@ -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…
Reference in New Issue
Block a user