#3551 closed defect (bug) (fixed)
Don't load buddybar css if all admin bars are enabled
Reported by: | boonebgorges | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | normal | Version: | 1.5 |
Component: | Toolbar & Notifications | Keywords: | |
Cc: |
Description
The current logic keeps buddybar css from being enqueued if BP_USE_WP_ADMIN_BAR is true (correct). But if you want to disable the WP admin bar AND the buddybar, buddybar CSS is enqueued. This is bad both because it requires an extra request and because it forces padding at the top of the body element.
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [5103]) Don't enqueue buddybar CSS when all admin bars are disabled. Fixes #3551