Make WordPress Core

Opened 10 years ago

Last modified 5 years ago

#28273 reviewing defect (bug)

Multisite sites without a path redirect to signup page

Reported by: ipstenu's profile Ipstenu Owned by: chriscct7's profile chriscct7
Milestone: 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 10 years ago.
28273-2.patch (1.9 KB) - added by JPry 10 years ago.
A more comprehensive patch
28273-alternate.patch (340 bytes) - added by JPry 10 years ago.
Alternate method of fixing the reported issue

Download all attachments as: .zip

Change History (7)

@JPry
10 years ago

#1 @JPry
10 years ago

  • Keywords has-patch needs-testing added

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


10 years ago

@JPry
10 years ago

A more comprehensive patch

@JPry
10 years ago

Alternate method of fixing the reported issue

#3 @danielkanchev
10 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' 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.

Version 2, edited 10 years ago by danielkanchev (previous) (next) (diff)

#4 @chriscct7
9 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.