Opened 14 years ago
Closed 14 years ago
#15315 closed defect (bug) (fixed)
Rework/Remove define('WP_SHOW_ADMIN_BAR' , false);
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
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
Change History (5)
Note: See
TracTickets for help on using
tickets.
(In [16177]) Add define('WP_SHOW_ADMIN_BAR' , false) for now. See #15315.