Make WordPress Core

Changeset 3252


Ignore:
Timestamp:
12/01/2005 01:34:29 AM (19 years ago)
Author:
ryan
Message:

Don't attempt to match the index against a rule. This fixes problems with /index.php requests matching agagainst the %category% rewrite rules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/classes.php

    r3233 r3252  
    14711471                $request = $pathinfo;
    14721472            } else {
     1473                // If the request uri is the index, blank it out so that we don't try to match it against a rule.
     1474                if ( $req_uri == $wp_rewrite->index )
     1475                    $req_uri = '';
    14731476                $request = $req_uri;
    14741477            }
     1478
    14751479            $this->request = $request;
    14761480
Note: See TracChangeset for help on using the changeset viewer.