Ticket #17411: 17411_login_init_action.diff
File 17411_login_init_action.diff, 495 bytes (added by , 14 years ago) |
---|
-
wp-login.php
368 368 setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN); 369 369 370 370 // allow plugins to override the default actions, and to add extra actions if they want 371 do_action( 'login_ form' );371 do_action( 'login_init' ); 372 372 do_action( 'login_form_' . $action ); 373 373 374 374 $http_post = ('POST' == $_SERVER['REQUEST_METHOD']);