Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #3389, comment 9


Ignore:
Timestamp:
08/15/2011 07:20:21 PM (15 years ago)
Author:
r-a-y

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3389, comment 9

    initial v1  
    11I 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.
    22
    3 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.
     3One way I was thinking about was ~~output buffering~~ (output buffering would be too late) reading 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.
    44
    55If there's a simpler way than that, that would be preferred.