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:
parent
c323670331
commit
6d04a62bfd
|
@ -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',
|
||||
|
|
|
@ -15,6 +15,6 @@ $wp_version = '2.7-beta2-9638';
|
|||
*
|
||||
* @global int $wp_db_version
|
||||
*/
|
||||
$wp_db_version = 9300;
|
||||
$wp_db_version = 9621;
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue