WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#28273 reviewing defect (bug)

Multisite sites without a path redirect to signup page

Reported by: Ipstenu Owned by: chriscct7
Milestone: Future Release Priority: normal
Severity: normal Version: 3.9
Component: Administration Keywords: has-patch needs-testing
Focuses: multisite Cc:

Description

From https://wordpress.org/support/topic/after-update-to-39-one-sub-site-directs-to-wp-signupphpnew?replies=4&view=all

Pre 3.9, WordPress would treat an empty 'path' variable for the site as a /

As of 3.9, this is no longer the case, and a blank path will act as if the site does not exist.

It's a simple fix in the admin section, but this is a regression from 3.8

Attachments (3)

28273.patch (686 bytes) - added by JPry 4 years ago.
28273-2.patch (1.9 KB) - added by JPry 4 years ago.
A more comprehensive patch
28273-alternate.patch (340 bytes) - added by JPry 4 years ago.
Alternate method of fixing the reported issue

Download all attachments as: .zip

Change History (7)

@JPry
4 years ago

#1 @JPry
4 years ago

  • Keywords has-patch needs-testing added

This ticket was mentioned in IRC in #wordpress-dev by JPry. View the logs.


4 years ago

@JPry
4 years ago

A more comprehensive patch

@JPry
4 years ago

Alternate method of fixing the reported issue

#3 @danielkanchev
4 years ago

This is not related to the sub-site issue but if a single WP site not part of a network has its "home" and "siteurl" set to 'NULL' (empty string) then the WP displays "Error establishing a database connection". Probably the fix for the sub-site issue should be a universal fix for this issue as well.

Last edited 4 years ago by danielkanchev (previous) (diff)

#4 @chriscct7
3 years ago

  • Milestone changed from Awaiting Review to Future Release
  • Owner set to chriscct7
  • Status changed from new to reviewing
Note: See TracTickets for help on using tickets.