]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-login.php
Wordpress 3.1.3
[autoinstalls/wordpress.git] / wp-login.php
index ab9cff5580a6e05c2615c98c24631dda76c8ec59..0f471b0d7b7b14d0fe2b7715c381c41649cbf3f1 100644 (file)
@@ -368,7 +368,8 @@ if ( SITECOOKIEPATH != COOKIEPATH )
        setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);
 
 // allow plugins to override the default actions, and to add extra actions if they want
-do_action('login_form_' . $action);
+do_action( 'login_init' );
+do_action( 'login_form_' . $action );
 
 $http_post = ('POST' == $_SERVER['REQUEST_METHOD']);
 switch ($action) {