WordPress.org

Make WordPress Core

Ticket #17708: 17708.patch

File 17708.patch, 1.3 KB (added by carlospaulino, 4 years ago)

Includes patch for wp-includes/rewrite.php and wp-admin/network.php

  • wp-admin/network.php

     
    455455                </rule> 
    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"> 
    461461                    <match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" /> 
  • wp-includes/rewrite.php

     
    17391739                                </rule> 
    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"> 
    17451745                                        <match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" />