Opened 4 years ago
Closed 2 years ago
#8775 closed defect (bug) (fixed)
Access to wp-signup.php should be allowed when Sites component is not active
| Reported by: | needle | Owned by: | espellcaste |
|---|---|---|---|
| Priority: | normal | Milestone: | 15.0.0 |
| Component: | Members | Version: | |
| Severity: | normal | 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
@
2 years ago
- Milestone Awaiting Review → Up Next
- Owner set to
- Status new → assigned
I'll look into this myself.
#3
@
2 years 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.
2 years ago
#4
- Keywords has-patch added
Trac ticket: https://buddypress.trac.wordpress.org/ticket/8775
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fixes #8775