[buddypress-trac] [BuddyPress] #4869: BP Theme Compat & BuddyPress Widgets styles
buddypress-trac
noreply at wordpress.org
Thu Apr 4 16:39:43 UTC 2013
#4869: BP Theme Compat & BuddyPress Widgets styles
------------------------------------+-----------------------
Reporter: imath | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 1.7
Component: Theme | Version: 1.7
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+-----------------------
Comment (by needle):
The check for the existence of 'members/members-loop.php' seems to be
affecting my approach to the BuddyPress upgrade process.
In summary: I maintain a theme which was made compatible with BP via the
BP Template Pack plugin such that all the relevant BP theme files were
copied into the theme. I also copied the stylesheet (as it was) into the
theme and overrode where necessary. My instructions to people were,
therefore, to install BP Template Pack and enable only the BP javascript
through it. This all worked fine.
With BP 1.7, I was planning not to declare
`add_theme_support('buddypress')` so that the legacy javascript was auto-
loaded - and then I would dequeue the legacy CSS file. Now, however, my
theme is assumed to support BuddyPress even though I have opted ''not'' to
declare that it does.
Could BuddyPress at least register the legacy CSS and javascript with
`wp_register_style()` and `wp_register_script()` so that theme developers
have the option to easily add them if they detect version 1.7?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4869#comment:17>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list