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
This commit is contained in:
ryan 2008-11-12 23:04:43 +00:00
parent c323670331
commit 6d04a62bfd
2 changed files with 2 additions and 2 deletions

View File

@ -1518,7 +1518,7 @@ class WP_Rewrite {
} }
// robots.txt // 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 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', $default_feeds = array( '.*wp-atom.php$' => $this->index .'?feed=atom',

View File

@ -15,6 +15,6 @@ $wp_version = '2.7-beta2-9638';
* *
* @global int $wp_db_version * @global int $wp_db_version
*/ */
$wp_db_version = 9300; $wp_db_version = 9621;
?> ?>