Opened 15 years ago
Closed 15 years ago
#1146 closed defect (bug) (no action required)
Changeset 2017 broke my theme
Reported by: | salsicha | Owned by: | |
---|---|---|---|
Milestone: | 1.1.1 | Priority: | minor |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
The Changeset 2017 remove
if ( BP_ROOT_BLOG == $current_blog->blog_id && !is_admin() )
return false;
from /bp-core/bp-core-cssjs.php
my buddypress pages works just fine, but the generated code in my home page and other wordpress pages includes this line of code that broke my theme:
<link rel="stylesheet" id="bp-admin-bar-css" href="http://xxx/wp-content/themes/bp-clube/_inc/css/adminbar.css?ver=2.8.4" type="text/css" media="">
if I fix one I broke the other because this line of code.
Change History (2)
Note: See
TracTickets for help on using
tickets.
I can't remove this as the admin bar will break on all blog themes if there is no CSS in the root blog's theme for it.
Use the filter 'bp_core_admin_bar_css' and filter out the CSS.