WordPress.org

Make WordPress Core

Ticket #17411: 17411_login_header_action.diff

File 17411_login_header_action.diff, 497 bytes (added by sorich87, 7 years ago)

Rename login_form action introduced in [17826] to login_header

  • wp-login.php

     
    368368        setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);
    369369
    370370// allow plugins to override the default actions, and to add extra actions if they want
    371 do_action( 'login_form' );
     371do_action( 'login_header' );
    372372do_action( 'login_form_' . $action );
    373373
    374374$http_post = ('POST' == $_SERVER['REQUEST_METHOD']);