[buddypress-trac] [BuddyPress] #3389: Enqueueing CSS of bp-default breaks child theme layouts
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon Aug 15 19:18:39 UTC 2011
#3389: Enqueueing CSS of bp-default breaks child theme layouts
---------------------+------------------------------
Reporter: mercime | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Theme | Version: 1.5
Severity: normal | Resolution:
Keywords: |
---------------------+------------------------------
Comment (by r-a-y):
I was thinking if there was a simple way to detect if a child theme was
older than 1.5, we could add some backpat compatibility.
One way I was thinking about was output buffering a child theme's
header.php and seeing if `stylesheet_url` or `bp_page_title()` was in the
code. If detected, don't enqueue 1.5 styles.
If there's a simpler way than that, that would be preferred.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3389#comment:9>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list