WordPress.org

Make WordPress Core

Opened 10 months ago

Closed 9 months ago

#21529 closed enhancement (fixed)

Improve multisite variables for WordPress multisite

Reported by: tobias Owned by:
Priority: normal Milestone: 3.5
Component: Multisite Version: 3.4.1
Severity: minor Keywords: has-patch dev-feedback
Cc: evan@…

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)

comment:1 tobias10 months ago

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

comment:2 SergeyBiryukov10 months 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

comment:3 evansolomon10 months ago

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

comment:4 evansolomon10 months ago

  • Cc evan@… added

comment:5 nacin9 months 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.