Ticket #11845: 11845.3.diff
File 11845.3.diff, 669 bytes (added by , 14 years ago) |
---|
-
wp-includes/rewrite.php
1683 1683 $rules = "<IfModule mod_rewrite.c>\n"; 1684 1684 $rules .= "RewriteEngine On\n"; 1685 1685 $rules .= "RewriteBase $home_root\n"; 1686 $rules .= "RewriteRule ^index\.php$ - [L] "; // Prevent -f checks on index.php.1686 $rules .= "RewriteRule ^index\.php$ - [L]\n"; // Prevent -f checks on index.php. 1687 1687 1688 1688 //add in the rules that don't redirect to WP's index.php (and thus shouldn't be handled by WP at all) 1689 1689 foreach ( (array) $this->non_wp_rules as $match => $query) {