WordPress.org

Make WordPress Core

Changeset 17465


Ignore:
Timestamp:
02/18/11 05:10:58 (3 years ago)
Author:
markjaquith
Message:

Do not attach wp_enqueue_scripts to login_head. New login_enqueue_scripts hook. props nacin. fixes #16586 for trunk

Location:
trunk
Files:
2 edited

Legend:

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

    r17422 r17465  
    217217 
    218218// Login actions 
    219 add_action( 'login_head',          'wp_enqueue_scripts',            1     ); 
    220219add_action( 'login_head',          'wp_print_head_scripts',         9     ); 
    221220add_action( 'login_footer',        'wp_print_footer_scripts'              ); 
  • trunk/wp-login.php

    r17367 r17465  
    8080    } 
    8181 
    82     do_action('login_head'); ?> 
     82    do_action( 'login_enqueue_scripts' ); 
     83    do_action( 'login_head' ); ?> 
    8384</head> 
    8485<body class="login"> 
Note: See TracChangeset for help on using the changeset viewer.