[buddypress-trac] [BuddyPress] #3487: BuddyPress installer/updater component slugs
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Wed Aug 17 16:21:03 UTC 2011
#3487: BuddyPress installer/updater component slugs
----------------------------+------------------------------
Reporter: sushkov | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 1.5
Severity: normal | Resolution:
Keywords: dev-feedback |
----------------------------+------------------------------
Comment (by boonebgorges):
On a new installation, BP core files have not been loaded at this point.
The data in ::setup_globals() is therefore not available.
During inter-1.5 upgrades, core files *are* loaded. But in that case, we
should be looking at root_slug rather than slug. (So that's a bug, and
should be patched. Though it doesn't matter that much, because the Pages
step won't generally be loaded on upgrades after 1.5.)
Because we are looking at root_slugs rather than regular slugs, we should
*not* be respecting BP_{component}_SLUG overrides in wp-config.php, since
these constants no longer affect the root slugs in BP 1.5.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3487#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list