Patch to make wp_enqueue_script work on login_head (wp-login.php)
|Reported by:||shamess||Owned by:||azaozz|
At the moment, all wp_enqueue_script'd scripts are ignored. The fix is pretty simple: just add
add_action('login_head', 'wp_print_head_scripts', 1); add_action('login_head', 'wp_enqueue_scripts', 1);
It's actually just the wp_print_head_scripts action that made my tests work, but I added wp_enqueue_scripts because it looked like it belonged there. Someone might want to dig into if it really should be there.