Make WordPress Core

Changeset 8263


Ignore:
Timestamp:
07/06/2008 05:33:39 PM (17 years ago)
Author:
ryan
Message:

Don't try to match rewrite rules against AtomPub requests. Props josephscott. fixes #7249

File:
1 edited

Legend:

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

    r8118 r8263  
    9292            $request_match = $request;
    9393            foreach ($rewrite as $match => $query) {
     94                // Don't try to match against AtomPub calls
     95                if ( $req_uri == 'wp-app.php' )
     96                    break;
     97
    9498                // If the requesting file is the anchor of the match, prepend it
    9599                // to the path info.
Note: See TracChangeset for help on using the changeset viewer.