Make WordPress Core


Ignore:
Timestamp:
09/27/2012 06:07:21 AM (12 years ago)
Author:
markjaquith
Message:

Make Multisite work when WordPress is installed in a subdirectory. You can now have WordPress Multisite as an SVN external or a Git submodule! props johnjamesjacoby, evansolomon, duck_, jakemgold, nacin, markjaquith. see #19796

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-new.php

    r20713 r22042  
    6363    if ( is_subdomain_install() ) {
    6464        $newdomain = $domain . '.' . preg_replace( '|^www\.|', '', $current_site->domain );
    65         $path = $base;
     65        $path      = $current_site->path;
    6666    } else {
    6767        $newdomain = $current_site->domain;
    68         $path = $base . $domain . '/';
     68        $path      = $current_site->path . $domain . '/';
    6969    }
    7070
Note: See TracChangeset for help on using the changeset viewer.