WordPress.org

Make WordPress Core

Ticket #24963: 24963.diff

File 24963.diff, 2.4 KB (added by netweb, 8 years ago)
  • src/wp-admin/network.php

     
    6767        global $wpdb;
    6868        /**
    6969         * Filter whether to enable the subdirectory install feature in Multisite.
    70          * 
     70         *
    7171         * @since 3.0.0
    72          * 
     72         *
    7373         * @param bool true Whether to enable the subdirectory install feature in Multisite. Default is false.
    7474         */
    7575        if ( apply_filters( 'allow_subdirectory_install', false ) )
     
    449449                </rule>
    450450                <rule name="WordPress Rule 4" stopProcessing="true">
    451451                    <match url="^' . $iis_subdir_match . '(wp-(content|admin|includes).*)" ignoreCase="false" />
    452                     <action type="Rewrite" url="' . $iis_rewrite_base . '{R:1}" />
     452                    <action type="Rewrite" url="' . $iis_rewrite_base . '{R:2}" />
    453453                </rule>
    454454                <rule name="WordPress Rule 5" stopProcessing="true">
    455455                    <match url="^' . $iis_subdir_match . '([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" />