Opened 11 years ago
Closed 23 months ago
#5985 closed defect (bug) (wontfix)
Registration screen doesn't use BP_REGISTER_SLUG
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | lowest | |
| Severity: | normal | Version: | |
| Component: | Registration | Keywords: | close 2nd-opinion |
| Cc: |
Description
Test flow:
- remove connection on BuddyPress - Pages page between Registration page and any WP page
- define
BP_REGISTER_SLUGwith assample-page(for example, first default page after clean WP instal) - open
site.com/sample-page
I expect there to be registration page content, but I see ordinary WP page content so far
Filtering bp_get_signup_slug() gives no result as well.
Change History (7)
This ticket was mentioned in Slack in #buddypress by slaffik. View the logs.
11 years ago
#2
@
11 years ago
- Milestone changed from Awaiting Review to Future Release
- Summary changed from BP_REGISTER_SLUG seems doesn't work to Registration screen doesn't use BP_REGISTER_SLUG
#3
@
9 years ago
- Component changed from Core to Registration
- Milestone changed from Future Release to 2.8
#4
@
9 years ago
- Keywords close 2nd-opinion added
- Priority changed from normal to lowest
I would say this is the lowest of all priorities.
Part of the problem was moving to WordPress pages in BP 1.5. Need to use sample-page as the registration page? Set it in the BP admin area.
The only way I see this being useful is if you are trying to automate the BP setup process for a new site.
We should probably deprecate the usage of the BP_REGISTER_SLUG constant if we haven't already. Or add some notes about this to a relevant codex page if applicable.
Similar to your report in #5991, this is likely a routing bug somewhere. For legacy reasons, if this slug is set, it should override whatever it is set to in the Page Mapping.