Don't always focus password field on interim login.
props johnbillion. fixes #28961. Built from https://develop.svn.wordpress.org/trunk@29258 git-svn-id: http://core.svn.wordpress.org/trunk@29041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b3f6108438
commit
f6206e5850
|
@ -896,7 +896,7 @@ default:
|
|||
<script type="text/javascript">
|
||||
function wp_attempt_focus(){
|
||||
setTimeout( function(){ try{
|
||||
<?php if ( $user_login || $interim_login ) { ?>
|
||||
<?php if ( $user_login ) { ?>
|
||||
d = document.getElementById('user_pass');
|
||||
d.value = '';
|
||||
<?php } else { ?>
|
||||
|
|
Loading…
Reference in New Issue