[wp-trac] [WordPress Trac] #48323: Signup link redirect is not filtered on multisite when a blog is not found

WordPress Trac noreply at wordpress.org
Wed Oct 16 10:47:16 UTC 2019


#48323: Signup link redirect is not filtered on multisite when a blog is not found
--------------------------+-----------------------------
 Reporter:  calin         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  has-patch
  Focuses:  multisite     |
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48323>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list