#10630 closed defect (bug) (wontfix)
Patch to make wp_enqueue_script work on login_head (wp-login.php)
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 2.8.4 |
Component: | JavaScript | Keywords: | has-patch |
Focuses: | Cc: |
Description
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);
to default-filters.php.
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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
This can be done by the plugin when needed