[buddypress-trac] [BuddyPress] #2950: Upgrading from 1.2.6 to 1.3 disables site

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Dec 16 22:52:18 UTC 2010


#2950: Upgrading from 1.2.6 to 1.3 disables site
----------------------+-----------------------------
 Reporter:  wpmuguru  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:  Awaiting Review
Component:  Core      |    Version:
 Keywords:            |
----------------------+-----------------------------
 In my test environment, it only happened on the front end but anyone
 running a theme or plugin that uses a BP function across the WP admin area
 will have a disabled site when they upgrade.

 The error I got was call to undefined function bp_...

 A use case where this would happen is a theme that modifies the admin bar
 by adding or removing links.

 The test I use to determine if BP is active is whether the constant
 BP_VERSION is defined. The bp_loaded, bp_init, bp_include hooks per
 http://codex.buddypress.org/plugin-development/checking-buddypress-is-
 active/ are not accessible to themes because those hooks fire before the
 theme is loaded.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2950>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list