[buddypress-trac] [BuddyPress] #4148: De-activating BP without changing theme first results in fatal error

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Apr 23 19:51:40 UTC 2012


#4148: De-activating BP without changing theme first results in fatal error
--------------------------+--------------------
 Reporter:  hnla          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  1.6
Component:  Theme         |     Version:  1.5.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by hnla):

 Ah cool that explains why and this works for Status as it's a child theme
 and IS still running thus functions.php is parsed and if we didn't have
 that switch_theme and then bp_is_active check and 'return' we in fact
 throw a function error, and it does work as expected.

 It's just the case that bp-default is within the plugin so in this respect
 those checks do not ever get to run where running bp-default is concerned,
 so ideally bp-default should always be run as a child theme with a
 style.css and function.php acting as a loader function just running a
 check for bp_version and bp_is_active :)

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


More information about the buddypress-trac mailing list