mirror of
https://github.com/WordPress/WordPress.git
synced 2024-06-25 22:35:02 +02:00
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">
|
<script type="text/javascript">
|
||||||
function wp_attempt_focus(){
|
function wp_attempt_focus(){
|
||||||
setTimeout( function(){ try{
|
setTimeout( function(){ try{
|
||||||
<?php if ( $user_login || $interim_login ) { ?>
|
<?php if ( $user_login ) { ?>
|
||||||
d = document.getElementById('user_pass');
|
d = document.getElementById('user_pass');
|
||||||
d.value = '';
|
d.value = '';
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user