[wp-trac] [WordPress Trac] #15315: Rework/Remove define('WP_SHOW_ADMIN_BAR' , false);

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 4 08:39:15 UTC 2010


#15315: Rework/Remove define('WP_SHOW_ADMIN_BAR' , false);
--------------------------+-------------------------------------------------
 Reporter:  westi         |       Owner:  westi
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  3.1  
Component:  General       |     Version:  3.1  
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
 This define is exceptionally fragile and is only designed for core usage.

 Rather than use this define we should work more based on the request type
 and force disable the admin bar in the scenarios where it isn't needed.

 Scenarios to disable in:

  * XMLRPC_REQUEST
  * APP_REQUEST
  * DOING_AJAX

 We need to add something like IFRAME_REQUEST for the cases in the admin
 where we display a page in an iframe or somewhere else - media upload,
 press-this, updates

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


More information about the wp-trac mailing list