Ticket #41176: wp-login.diff
File wp-login.diff, 619 bytes (added by , 7 years ago) |
---|
-
wp-login.php
964 964 }, 200); 965 965 } 966 966 967 <?php 967 968 /** 968 969 * Filters whether to print the call to `wp_attempt_focus()` on the login screen. 969 970 * … … 971 972 * 972 973 * @param bool $print Whether to print the function call. Default true. 973 974 */ 974 <?php if ( apply_filters( 'enable_login_autofocus', true ) && ! $error ) { ?> 975 if ( apply_filters( 'enable_login_autofocus', true ) && ! $error ) { 976 ?> 975 977 wp_attempt_focus(); 976 978 <?php } ?> 977 979 if(typeof wpOnload=='function')wpOnload();