WordPress.org

Make WordPress Core

Changes between Initial Version and Version 5 of Ticket #18079


Ignore:
Timestamp:
08/14/2012 07:23:04 PM (6 years ago)
Author:
SergeyBiryukov
Comment:

Related: #19796

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18079

    • Property Version changed from 3.2 to 3.0
  • Ticket #18079 – Description

    initial v5  
    44
    55Like so
     6{{{
    67Network 1:
    78Network domain: example.com Network path: /ohio/
     
    1920Network domain: example.com Network path: /indiana/
    2021    site domain: example.com path: /indiana/indianapolis
    21 
     22}}}
    2223There are two things that are preventing this. First, in new_site, instead of including the path from the sites table for the current network, it uses the global $base variable which is always / in this scenario. Using $current_site->path resolves that.
    2324
     
    2526
    2627Adjusting lines similar to
     28{{{
    2729RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1
     30}}}
    2831over to
     32{{{
    2933RewriteRule  ^[_0-9a-zA-Z/-]+/(wp-(content|admin|includes).*) $1
    30 
     34}}}
    3135resolves that.
    3236