WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#27025 closed defect (bug) (fixed)

Improper formatting of file address

Reported by: VarunAgw Owned by: nacin
Milestone: 3.9 Priority: normal
Severity: normal Version: 3.9
Component: Networks and Sites Keywords: has-patch
Focuses: administration, multisite Cc:

Description

After you filled the form at Tools->Network Setup, it asks you to add some code in wp-config.php

Currently, it says

Add the following to your wp-config.php file in X:\dir\dir2\wp/ above the line reading /* That’s all, stop editing! Happy blogging. */:

The path shown as X:\dir\dir2\wp/ should be in this format X:/dir/dir2/wp/

Attachments (2)

network.php (25.5 KB) - added by VarunAgw 7 years ago.
Fix of the bug
slash.diff (724 bytes) - added by VarunAgw 7 years ago.
Here is a diff file

Download all attachments as: .zip

Change History (6)

#1 @VarunAgw
7 years ago

  • Keywords has-patch added

Bug code

File: wp-admin\network.php
Line No: 332
Buggy Line: $location_of_wp_config = ABSPATH;
Fix: $location_of_wp_config = $abspath_fix;

@VarunAgw
7 years ago

Fix of the bug

@VarunAgw
7 years ago

Here is a diff file

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


7 years ago

#3 @nacin
7 years ago

  • Component changed from Appearance to Networks and Sites
  • Focuses multisite added
  • Milestone changed from Awaiting Review to 3.9

Looks good!

#4 @nacin
7 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 27112:

Network install: When showing the path to wp-config.php make sure our slashes are normalized.

props VarunAgw.
fixes #27025.

Note: See TracTickets for help on using tickets.