Opened 10 years ago
Closed 9 years ago
#6477 closed defect (bug) (fixed)
User domains don't resolve correctly with BP_ENABLE_ROOT_PROFILES when Members page is not top-level
Reported by: | boonebgorges | Owned by: | r-a-y |
---|---|---|---|
Milestone: | 2.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Route Parser | Keywords: | has-patch commit |
Cc: |
Description
See #6475 for previous report.
Steps to reproduce:
define( 'BP_ENABLE_ROOT_PROFILES', true );
in wp-config.php- Make your Members page a child of another page
- Try to visit the domain of a specific user (eg, example.com/boone)
Expected: you see the user's page
Actual: you see the Members directory
Attachments (2)
Change History (8)
#2
@
10 years ago
The rest of his suggested fixes in that patch are performance-related, and probably deserve a separate ticket, since they're much more expansive.
I wouldn't really say "much more expansive", but I get your point :) I've ported over the additional performance tweak into 02.patch
, just so it isn't lost.
#3
@
10 years ago
I had this problem recently. I solved not putting it as a child of another page. But wasn't sure it was a bug in BuddyPress or somewhere in my code or another plugin.
6477.diff ports the fix for the problem from r-a-y's patch on #6475 https://buddypress.trac.wordpress.org/attachment/ticket/6475/6475.01.patch, and adds a unit test. (The rest of his suggested fixes in that patch are performance-related, and probably deserve a separate ticket, since they're much more expansive.)