Skip to:
Content

BuddyPress.org

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


Ignore:
Timestamp:
08/31/2011 09:50:34 PM (15 years ago)
Author:
r-a-y

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3389, comment 41

    initial v1  
    11The problem with this approach is this assumes that the child theme's stylesheet uses an @import rule.
    22
    3 This also doesn't solve the problem of child themes that have the stylesheet hardcoded.
     3This also doesn't solve the problem of child themes that have the stylesheet hardcoded in header.php.
    44
    55I am revisiting [http://buddypress.trac.wordpress.org/ticket/3389#comment:9 the object buffering idea I had].  Output buffer from 'get_header' to 'wp_head' at priority 0.  Check to see if a stylesheet is hardcoded, if so use a version of Boone's patch to enqueue it while still in the 'wp_head' action at zero.