Make WordPress Core


Ignore:
Timestamp:
10/27/2010 06:57:10 AM (14 years ago)
Author:
westi
Message:

Remove the ghetto code and use the script loader properly on the login page.
Ensure that we actually have convertEntities available on the login page.
Introduce a login_footer action.
Hook in the script loader to the login_header and login_footer actions.
See #5919, #15124.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r15964 r16000  
    211211add_action( 'wp_head',             'wp_shortlink_wp_head',          10, 0 );
    212212add_action( 'template_redirect',   'wp_shortlink_header',           11, 0 );
     213
     214// Login actions
     215add_action( 'login_head',          'wp_enqueue_scripts',            1     );
     216add_action( 'login_head',          'wp_print_head_scripts',         9     );
     217add_action( 'login_footer',        'wp_print_footer_scripts'              );
    213218
    214219// Feed Generator Tags
Note: See TracChangeset for help on using the changeset viewer.