WordPress.org

Make WordPress Core

Changeset 17466


Ignore:
Timestamp:
02/18/2011 05:15:26 AM (7 years ago)
Author:
markjaquith
Message:

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

Location:
branches/3.1
Files:
2 edited

Legend:

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

    r17423 r17466  
    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'              );
  • branches/3.1/wp-login.php

    r17367 r17466  
    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.