From 814faf7f4f97fc1c990d4b06aa0dd90bd403e68f Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Mon, 19 Sep 2011 12:15:43 +0000 Subject: [PATCH] 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 --- wp-includes/rewrite.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index a7349abc61..ae4bd8a90b 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -1487,7 +1487,7 @@ class WP_Rewrite { $robots_rewrite = ( empty( $home_path['path'] ) || '/' == $home_path['path'] ) ? array( 'robots\.txt$' => $this->index . '?robots=1' ) : array(); // 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_pages = array(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 76b76f423e..db53538e74 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -11,7 +11,7 @@ $wp_version = '3.3-aortic-dissection'; * * @global int $wp_db_version */ -$wp_db_version = 18541; +$wp_db_version = 18715; /** * Holds the TinyMCE version