Make WordPress Core


Ignore:
Timestamp:
05/24/2008 05:06:26 PM (16 years ago)
Author:
ryan
Message:

Fixes timing issue in IE6 in the TB mod scripts. Reorders css files to load before js in the admin head. Props azaozz. fixes #7032

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r7976 r7989  
    4747
    4848if ( isset($page_hook) ) {
     49    do_action('admin_print_styles-' . $page_hook);
    4950    do_action('admin_print_scripts-' . $page_hook);
    50     do_action('admin_print_styles-' . $page_hook);
    5151    do_action('admin_head-' . $page_hook);
    5252} else if ( isset($plugin_page) ) {
     53    do_action('admin_print_styles-' . $plugin_page);
    5354    do_action('admin_print_scripts-' . $plugin_page);
    54     do_action('admin_print_styles-' . $plugin_page);
    5555    do_action('admin_head-' . $plugin_page);
    5656} else if ( isset($pagenow) ) {
     57    do_action('admin_print_styles-' . $pagenow);
    5758    do_action('admin_print_scripts-' . $pagenow);
    58     do_action('admin_print_styles-' . $pagenow);
    5959    do_action('admin_head-' . $pagenow);
    6060}
     61do_action('admin_print_styles');
    6162do_action('admin_print_scripts');
    62 do_action('admin_print_styles');
    6363do_action('admin_head');
    6464
Note: See TracChangeset for help on using the changeset viewer.