From 6d04a62bfde978789a0157bf0ee5bbb09b05aa9d Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 12 Nov 2008 23:04:43 +0000 Subject: [PATCH] Escape dot in robots rewrite rule. Props Jean-LucfromBrussels and DD32. fixes #8176 git-svn-id: http://svn.automattic.com/wordpress/trunk@9650 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 f4623cc29..71d280287 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -1518,7 +1518,7 @@ class WP_Rewrite { } // robots.txt - $robots_rewrite = array('robots.txt$' => $this->index . '?robots=1'); + $robots_rewrite = array('robots\.txt$' => $this->index . '?robots=1'); //Default Feed rules - These are require to allow for the direct access files to work with permalink structure starting with %category% $default_feeds = array( '.*wp-atom.php$' => $this->index .'?feed=atom', diff --git a/wp-includes/version.php b/wp-includes/version.php index 88be63b26..648a9d57a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -15,6 +15,6 @@ $wp_version = '2.7-beta2-9638'; * * @global int $wp_db_version */ -$wp_db_version = 9300; +$wp_db_version = 9621; ?>