Make WordPress Core

Changeset 18715


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

Location:
trunk/wp-includes
Files:
2 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
  • trunk/wp-includes/version.php

    r18710 r18715  
    1212 * @global int $wp_db_version
    1313 */
    14 $wp_db_version = 18541;
     14$wp_db_version = 18715;
    1515
    1616/**
Note: See TracChangeset for help on using the changeset viewer.