[buddypress-trac] [BuddyPress] #2789: bp-core-upgrade.php - do not register theme directory
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Thu Dec 9 21:14:46 UTC 2010
#2789: bp-core-upgrade.php - do not register theme directory
-----------------------+----------------------------------------------------
Reporter: r-a-y | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version: 1.3
Keywords: has-patch |
-----------------------+----------------------------------------------------
When activating BuddyPress 1.3 for the first time, the /buddypress/bp-
themes/ directory is already registered, but bp-wizard hasn't been
completed yet.
An admin could potentially activate the bp-default theme without going
through BP setup. Hence, they'd receive a fatal error that bp_is_active()
is undefined as it doesn't exist yet.
Patch removes the line registering the /bp-themes/ directory in /bp-
core/admin/bp-core-upgrade.php.
--
Ticket URL: <http://trac.buddypress.org/ticket/2789>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list