Ticket #40301: 40301.diff
| File 40301.diff, 778 bytes (added by , 9 years ago) |
|---|
-
src/wp-login.php
358 358 359 359 /** 360 360 * Filters the message body of the password reset mail. 361 * 361 * 362 362 * If the filtered message is empty, the password reset email will not be sent. 363 363 * 364 364 * @since 2.8.0 … … 963 963 }, 200); 964 964 } 965 965 966 <?php if ( !$error ) { ?> 966 /** 967 * Filters whether to print the call to `wp_attempt_focus()` on the login screen. 968 * 969 * @since 4.8.0 970 * 971 * @param bool $print Whether to print the function call. Default true. 972 */ 973 <?php if ( apply_filters( 'enable_login_autofocus', true ) && ! $error ) { ?> 967 974 wp_attempt_focus(); 968 975 <?php } ?> 969 976 if(typeof wpOnload=='function')wpOnload();