WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#21529 closed enhancement (fixed)

Improve multisite variables for WordPress multisite

Reported by: 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)

comment:1 @tobias3 years ago

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

comment:2 @SergeyBiryukov3 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

comment:3 @evansolomon3 years ago

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

comment:4 @evansolomon3 years ago

  • Cc evan@… added

comment:5 @nacin3 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.