Opened 7 years ago
Closed 2 months ago
#48323 closed defect (bug) (fixed)
Signup link redirect is not filtered on multisite when a blog is not found
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Networks and Sites | Keywords: | has-patch commit |
| Focuses: | multisite | Cc: |
Description
The signup link redirect is not filtered for multisite when a blog is not found. Usually, the links are generated using network_site_url( 'wp-signup.php' ) which applies the network_site_url filter but not when a redirect occurs because the blog is not found.
The relevant piece of code is here: https://github.com/WordPress/WordPress/blob/5.2.3/wp-includes/ms-load.php#L396-L435
I know that this code loads before plugins, but it is loaded after sunrise.php, so the filter cand be added in that file.
I've attach a patch for this.
Attachments (1)
Change History (12)
This ticket was mentioned in Slack in #core-multisite by realloc. View the logs.
12 months ago
This ticket was mentioned in Slack in #core-multisite by realloc. View the logs.
12 months ago
This ticket was mentioned in PR #8916 on WordPress/wordpress-develop by @realloc.
12 months ago
#4
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
2 months ago
#9
@
2 months ago
As per today's 7.0 bug scrub:
@johnjamesjacoby the PR looks good to go at a glance. As ticket owner, are you ok/able to ship it before the next beta?
This is the patch for the ticket: https://core.trac.wordpress.org/ticket/48323