Make WordPress Core

Ticket #17411: 17411_login_init_action.diff

File 17411_login_init_action.diff, 495 bytes (added by sorich87, 14 years ago)

Rename login_form action introduced in [17826] to login_init

  • 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_init' );
    372372do_action( 'login_form_' . $action );
    373373
    374374$http_post = ('POST' == $_SERVER['REQUEST_METHOD']);