Make WordPress Core


Ignore:
Timestamp:
09/19/2011 12:15:43 PM (13 years ago)
Author:
westi
Message:

Escape the dot so that it only matches dot any not any character in the old feed files redirect.
Bump the db version so the rules regenerate.
See #18384

File:
1 edited

Legend:

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

    r18566 r18715  
    14881488
    14891489        // Old feed files
    1490         $old_feed_files = array( '.*wp-(atom|rdf|rss|rss2|feed|commentsrss2).php$' => $this->index . '?feed=old' );
     1490        $old_feed_files = array( '.*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\.php$' => $this->index . '?feed=old' );
    14911491
    14921492        // Registration rules
Note: See TracChangeset for help on using the changeset viewer.