[buddypress-trac] [BuddyPress Trac] #6457: buddypress.css stylesheet overloading behavior change in 2.3-RC1

buddypress-trac noreply at wordpress.org
Wed May 27 21:44:42 UTC 2015


#6457: buddypress.css stylesheet overloading behavior change in 2.3-RC1
----------------------------------------+-----------------------------
 Reporter:  dcavins                     |      Owner:
     Type:  defect (bug)                |     Status:  new
 Priority:  low                         |  Milestone:  Awaiting Review
Component:  Appearance - Template Pack  |    Version:
 Severity:  minor                       |   Keywords:
----------------------------------------+-----------------------------
 So this old trick has worked since BP1.7: Add an empty file called
 `buddypress.css` at `my-theme/css/buddypress.css` to prevent BP from
 loading its own stylesheet from bp-legacy.

 https://codex.buddypress.org/themes/theme-compatibility-1-7/add-
 buddypress-styles-to-a-theme/

 DJPaul made a change in r9630 that allows BP to use minified assets when
 available, but since BP is looking for the minified version, the old trick
 fails. In this brave new minified world, the theme dev needs to add  `my-
 theme/css/buddypress.min.css` to get the old behavior back.

 This could be surprising for theme developers. We have no idea how many
 sites this will affect (probably not very many?), but is there any better
 way to keep the behavior consistent? Or maybe updating that old article
 and writing a new post about best practices would be the better answer?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6457>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list