Escape dot in robots rewrite rule. Props Jean-LucfromBrussels and DD32. fixes #8176
git-svn-id: https://develop.svn.wordpress.org/trunk@9650 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bf4913ea19
commit
4fc511e7b3
@ -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',
|
||||||
|
@ -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;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user