Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #25316, comment 10


Ignore:
Timestamp:
09/13/2013 08:43:01 PM (11 years ago)
Author:
gradyetc
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25316, comment 10

    initial v1  
    33
    44This works. Another approach would be not relying on {{{wpmu_current_site()}}} to set that global at all.  You could re-set {{{$path}}} in wp-includes/ms-settings.php with {{{$current_site->path}}} after it is set on line 48.
     5
     6Looking at it more closely -- there are three lines in ms-settings.php that manipulate {{{$path}}} (44-46), right before the call to {{{wpmu_current_site()}}} clobbers it completely.  This confused both of us...