WordPress.org

Make WordPress Core

Changeset 20099


Ignore:
Timestamp:
03/02/2012 10:51:29 PM (6 years ago)
Author:
nacin
Message:

In the admin, render the Toolbar immediately, rather than waiting until the footer. When intensive pages take a while to load, you aren't stuck without a working admin header. fixes #20161.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/admin-bar.php

    r19855 r20099  
    6565}
    6666add_action( 'wp_footer', 'wp_admin_bar_render', 1000 );
    67 add_action( 'admin_footer', 'wp_admin_bar_render', 1000 );
     67add_action( 'in_admin_header', 'wp_admin_bar_render', 0 );
    6868
    6969/**
Note: See TracChangeset for help on using the changeset viewer.