Focus on the password field if the user has come from the default password nag
git-svn-id: http://svn.automattic.com/wordpress/trunk@14171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a8f935789b
commit
7658f0892d
|
@ -373,6 +373,12 @@ if ( $show_password_fields ) :
|
|||
<?php
|
||||
break;
|
||||
}
|
||||
|
||||
?>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
if (window.location.hash == '#password') {
|
||||
document.getElementById('pass1').focus();
|
||||
}
|
||||
</script>
|
||||
<?php
|
||||
include('./admin-footer.php');
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue