[wp-trac] [WordPress Trac] #20161: Move Toolbar rendering in the admin to the header

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 2 22:39:34 UTC 2012


#20161: Move Toolbar rendering in the admin to the header
--------------------------+-----------------
 Reporter:  nacin         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.4
Component:  Toolbar       |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------
 Some admin pages take a while to load. Examples include:

  * themes.php page with a boatload of themes
  * edit.php with a large posts-per-page setting
  * an update which does not operate in an iframe

 There's nothing truly wrong with a page that takes a long time to fully
 paint (150 themes is a lot of screenshots to load) unless we need DOM
 ready to fire quickly, but it does look broken when you see the empty
 space at the top.

 The in_admin_header seems like a good candidate hook. At worst, we add a
 new hook.

 The Debug Bar will still simply wait until admin_footer to spit out its
 panel information. That's the only contraindication I could think of for
 not doing this.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20161>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list