Do not attach wp_enqueue_scripts to login_head. New login_enqueue_scripts hook. props nacin. fixes #16586 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
70a8b60f92
commit
6e1fc710d9
|
@ -216,7 +216,6 @@ add_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 );
|
|||
add_action( 'template_redirect', 'wp_shortlink_header', 11, 0 );
|
||||
|
||||
// Login actions
|
||||
add_action( 'login_head', 'wp_enqueue_scripts', 1 );
|
||||
add_action( 'login_head', 'wp_print_head_scripts', 9 );
|
||||
add_action( 'login_footer', 'wp_print_footer_scripts' );
|
||||
|
||||
|
|
|
@ -79,7 +79,8 @@ function login_header($title = 'Log In', $message = '', $wp_error = '') {
|
|||
<?php
|
||||
}
|
||||
|
||||
do_action('login_head'); ?>
|
||||
do_action( 'login_enqueue_scripts' );
|
||||
do_action( 'login_head' ); ?>
|
||||
</head>
|
||||
<body class="login">
|
||||
<?php if ( !is_multisite() ) { ?>
|
||||
|
|
Loading…
Reference in New Issue