[buddypress-trac] [BuddyPress] #4879: add_theme_support( 'buddypress' ) should not load buddypress-functions.php

buddypress-trac noreply at wordpress.org
Thu Mar 14 19:42:38 UTC 2013


#4879: add_theme_support( 'buddypress' ) should not load buddypress-functions.php
--------------------------------------------+------------------------------
 Reporter:  modemlooper                     |       Owner:
     Type:  defect (bug)                    |      Status:  new
 Priority:  normal                          |   Milestone:  Awaiting Review
Component:  Backwards Compatability         |     Version:  1.7
 Severity:  major                           |  Resolution:
 Keywords:  dev-feedback reporter-feedback  |
--------------------------------------------+------------------------------

Comment (by modemlooper):

 I'm not using any code. It's a theme inside wp-content/themes that was a
 derivative of bp-default. Theme switcher on mobile switches theme but
 since the desktop is using theme compat BuddyPress is loading buddypress-
 functions.php but the theme that is the derivative includes functions.php
 so it's duplicating some functions that add buttons and  secondary images.
 I placed add_theme_support( 'buddypress' ) in the bp-default derived theme
 and it should block buddypress-functions.php

 I could remove the extra functions but this won't fix the issue of loading
 both files.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4879#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list