WordPress.org

Make WordPress Core

Ticket #20746: 20746.2.patch

File 20746.2.patch, 493 bytes (added by thomaswm, 4 years ago)
  • wp-admin/includes/network.php

     
    554554# add a trailing slash to /wp-admin
    555555RewriteRule ^{$subdir_match}wp-admin$ {$subdir_replacement_01}wp-admin/ [R=301,L]
    556556
     557RewriteRule ^wp-(admin|content|includes) - [L]
    557558RewriteCond %{REQUEST_FILENAME} -f [OR]
    558559RewriteCond %{REQUEST_FILENAME} -d
    559560RewriteRule ^ - [L]