Make WordPress Core

Ticket #41176: wp-login.diff

File wp-login.diff, 619 bytes (added by chris@…, 7 years ago)
  • wp-login.php

     
    964964}, 200);
    965965}
    966966
     967<?php
    967968/**
    968969 * Filters whether to print the call to `wp_attempt_focus()` on the login screen.
    969970 *
     
    971972 *
    972973 * @param bool $print Whether to print the function call. Default true.
    973974 */
    974 <?php if ( apply_filters( 'enable_login_autofocus', true ) && ! $error ) { ?>
     975if ( apply_filters( 'enable_login_autofocus', true ) && ! $error ) {
     976?>
    975977wp_attempt_focus();
    976978<?php } ?>
    977979if(typeof wpOnload=='function')wpOnload();