WordPress.org

Make WordPress Core

Changeset 19018


Ignore:
Timestamp:
10/19/11 22:57:37 (2 years ago)
Author:
nacin
Message:

Use correct capture group in IIS7 multisite subdirectory rewrite rules. props carlospaulino, eduplessis, ruslany. fixes #17708.

Location:
trunk
Files:
2 edited

Legend:

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

    r18979 r19018  
    456456                <rule name="WordPress Rule 5" stopProcessing="true"> 
    457457                    <match url="^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*)" ignoreCase="false" /> 
    458                     <action type="Rewrite" url="{R:2}" /> 
     458                    <action type="Rewrite" url="{R:1}" /> 
    459459                </rule> 
    460460                <rule name="WordPress Rule 6" stopProcessing="true"> 
  • trunk/wp-includes/rewrite.php

    r19017 r19018  
    17401740                <rule name="wordpress - Rule 5" stopProcessing="true"> 
    17411741                    <match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" /> 
    1742                     <action type="Rewrite" url="{R:2}" /> 
     1742                    <action type="Rewrite" url="{R:1}" /> 
    17431743                </rule> 
    17441744                <rule name="wordpress - Rule 6" stopProcessing="true"> 
Note: See TracChangeset for help on using the changeset viewer.