s/login_form/login_init/. Props sorich87. fixes #17411
git-svn-id: http://svn.automattic.com/wordpress/trunk@17918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6b26de11a4
commit
d4abef7def
|
@ -218,7 +218,7 @@ if ( isset( $_GET['replytocom'] ) )
|
||||||
// Login actions
|
// Login actions
|
||||||
add_action( 'login_head', 'wp_print_head_scripts', 9 );
|
add_action( 'login_head', 'wp_print_head_scripts', 9 );
|
||||||
add_action( 'login_footer', 'wp_print_footer_scripts' );
|
add_action( 'login_footer', 'wp_print_footer_scripts' );
|
||||||
add_action( 'login_form', 'send_frame_options_header', 10, 0 );
|
add_action( 'login_init', 'send_frame_options_header', 10, 0 );
|
||||||
|
|
||||||
// Feed Generator Tags
|
// Feed Generator Tags
|
||||||
foreach ( array( 'rss2_head', 'commentsrss2_head', 'rss_head', 'rdf_header', 'atom_head', 'comments_atom_head', 'opml_head', 'app_head' ) as $action ) {
|
foreach ( array( 'rss2_head', 'commentsrss2_head', 'rss_head', 'rdf_header', 'atom_head', 'comments_atom_head', 'opml_head', 'app_head' ) as $action ) {
|
||||||
|
|
|
@ -368,7 +368,7 @@ if ( SITECOOKIEPATH != COOKIEPATH )
|
||||||
setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);
|
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
|
// allow plugins to override the default actions, and to add extra actions if they want
|
||||||
do_action( 'login_form' );
|
do_action( 'login_init' );
|
||||||
do_action( 'login_form_' . $action );
|
do_action( 'login_form_' . $action );
|
||||||
|
|
||||||
$http_post = ('POST' == $_SERVER['REQUEST_METHOD']);
|
$http_post = ('POST' == $_SERVER['REQUEST_METHOD']);
|
||||||
|
|
Loading…
Reference in New Issue