WordPress.org

Make WordPress Core

Ticket #15083: 15083.diff

File 15083.diff, 613 bytes (added by wpmuguru, 4 years ago)
  • wp-admin/network.php

     
    471471 
    472472                // @todo custom content dir. 
    473473                if ( ! $subdomain_install ) 
    474                         $htaccess_file .= "\nRewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]\nRewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]"; 
     474                        $htaccess_file .= "\nRewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]\nRewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]"; 
    475475 
    476476                $htaccess_file .= "\nRewriteRule . index.php [L]"; 
    477477