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

git-svn-id: https://develop.svn.wordpress.org/trunk@18715 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2011-09-19 12:15:43 +00:00
parent 670784bcc3
commit 814faf7f4f
2 changed files with 2 additions and 2 deletions

View File

@ -1487,7 +1487,7 @@ class WP_Rewrite {
$robots_rewrite = ( empty( $home_path['path'] ) || '/' == $home_path['path'] ) ? array( 'robots\.txt$' => $this->index . '?robots=1' ) : array(); $robots_rewrite = ( empty( $home_path['path'] ) || '/' == $home_path['path'] ) ? array( 'robots\.txt$' => $this->index . '?robots=1' ) : array();
// Old feed files // Old feed files
$old_feed_files = array( '.*wp-(atom|rdf|rss|rss2|feed|commentsrss2).php$' => $this->index . '?feed=old' ); $old_feed_files = array( '.*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\.php$' => $this->index . '?feed=old' );
// Registration rules // Registration rules
$registration_pages = array(); $registration_pages = array();

View File

@ -11,7 +11,7 @@ $wp_version = '3.3-aortic-dissection';
* *
* @global int $wp_db_version * @global int $wp_db_version
*/ */
$wp_db_version = 18541; $wp_db_version = 18715;
/** /**
* Holds the TinyMCE version * Holds the TinyMCE version