Opened 3 years ago
Closed 18 months ago
#8775 closed defect (bug) (fixed)
Access to wp-signup.php should be allowed when Sites component is not active
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 15.0.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Members | Keywords: | has-patch |
| Cc: |
Description
When the BuddyPress Sites component is not active, access to wp-signup.php should be allowed for logged-in users when the WordPress settings are appropriately set.
At present, bp_core_wpsignup_redirect() redirects away unless:
- The
stagePOST variable is set togimmeanotherblog - Access is attempted via
wp-admin/my-sites.php
It is possible for front-end menus to have links to wp-signup.php - but when the Sites component is not active, these will be redirected to bp_get_signup_page() and from there the the site homepage.
This means that wp-admin/my-sites.php is the only route through which logged-in users can create additional sites.
Attachments (1)
Change History (6)
#1
@
19 months ago
- Milestone changed from Awaiting Review to Up Next
- Owner set to espellcaste
- Status changed from new to assigned
I'll look into this myself.
#3
@
19 months ago
@needle I was able to replicate the issue. I'll test your patch to confirm it doesn't introduce regressions.
This ticket was mentioned in PR #329 on buddypress/buddypress by renatonascalves.
19 months ago
#4
- Keywords has-patch added
Trac ticket: https://buddypress.trac.wordpress.org/ticket/8775
Fixes #8775