Opened 14 years ago
Closed 14 years ago
#15328 closed defect (bug) (wontfix)
Always Filter Admin Bar Showing
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.1 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
We can't anticipate every use of the admin bar, and there's no great performance benefit in short-circuiting the show_admin_bar
filter as done in r16221.
For example, suppose someone wants to load the admin bar markup asynchronously. It would be helpful to be able to turn it on when DOING_AJAX
is true.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
We have to short circuit it because it calls functions that should not be called for some of these request types.
Which then leads to nasty things like broken XMLRPC endpoints.