Make WordPress Core

Opened 13 years ago

Closed 12 years ago

#21529 closed enhancement (fixed)

Improve multisite variables for WordPress multisite

Reported by: tobias's profile tobias Owned by:
Milestone: 3.5 Priority: normal
Severity: minor Version: 3.4.1
Component: Multisite Keywords: has-patch dev-feedback
Focuses: Cc:

Description (last modified by SergeyBiryukov)

Currently, WordPress suggest those variables to be used for a multisite setup:

$base = /YOURPATH/;
define('PATH_CURRENT_SITE', '/YOURPATH/');

To keep it simple, it should be something like:

define('PATH_CURRENT_SITE', '/YOURPATH/');
$base = PATH_CURRENT_SITE;

Change History (5)

#1 @tobias
13 years ago

See https://github.com/WordPress/WordPress/pull/16 for the pull request that changes what I described above.

#2 @SergeyBiryukov
13 years ago

  • Component changed from Administration to Multisite
  • Description modified (diff)
  • Summary changed from Improve multisite variables for wordpress multisite to Improve multisite variables for WordPress multisite

#3 @evansolomon
13 years ago

The $base global can be removed completely. See #19796. All the patches from .6.diff on remove $base.

#4 @evansolomon
13 years ago

  • Cc evan@… added

#5 @nacin
12 years ago

  • Milestone changed from Awaiting Review to 3.5
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.