Make WordPress Core


Ignore:
Timestamp:
11/07/2012 09:27:02 PM (12 years ago)
Author:
nacin
Message:

Update the old wp-app.php rule to allow for a trailing slash followed by endpoint data. props wonderboymusic. fixes #22035.

File:
1 edited

Legend:

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

    r22403 r22441  
    15291529        $deprecated_files = array(
    15301530            '.*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\.php$' => $this->index . '?feed=old',
    1531             '.*wp-app\.php$' => $this->index . '?error=403',
     1531            '.*wp-app\.php(/.*)?$' => $this->index . '?error=403',
    15321532        );
    15331533
Note: See TracChangeset for help on using the changeset viewer.