Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#22787 closed defect (bug) (fixed)

New (3.5) subdirectory multisite installs create 'path' without the required leading slash

Reported by: markjaquith Owned by: nacin
Priority: highest omg bbq Milestone: 3.5
Component: Multisite Version: 3.5
Severity: blocker Keywords:
Cc: Focuses:

Description

New (that is, not converted to multisite in 3.4.x or earlier) multisite installs in subdirectory mode will create new signups and blogs with a path that looks like this: "sitename/" instead of "/sitename/", and thus they don't work.

Issue has to do with the dropping of $base from wp-config.php, but it still being used in one location.

See #19796 for the work that dropped $base.

Attachments (2)

22787.diff​ (448 bytes ) - added by nacin 14 years ago.
22787.2.diff​ (580 bytes ) - added by markjaquith 14 years ago.
The other half

Download all attachments as: .zip

Change History (5)

#1 @nacin
14 years ago

I am also debating 22787.diff​, for plugins. But no one has complained, so inclined to ignore it.

@markjaquith
14 years ago

The other half

#2 @markjaquith
14 years ago

I tried my patch, and then a compat $base fix (by itself, in a similar location). Both fixed the issue.

#3 @nacin
14 years ago

  • Owner set to nacin
  • Resolution → fixed
  • Status new → closed

In 23107:

Use $current_site->path instead of $base in wpmu_validate_blog_signup(), as $base is now dead. props MarkJaquith. fixes #22787. see #19796.

Note: See TracTickets for help on using tickets.