Opened 10 months ago
Closed 9 months ago
#21529 closed enhancement (fixed)
Improve multisite variables for WordPress multisite
| Reported by: |
|
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:2
SergeyBiryukov
— 10 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
evansolomon
— 10 months ago
The $base global can be removed completely. See #19796. All the patches from .6.diff on remove $base.
comment:4
evansolomon
— 10 months ago
- Cc evan@… added
Note: See
TracTickets for help on using
tickets.
See https://github.com/WordPress/WordPress/pull/16 for the pull request that changes what I described above.