[wp-trac] [WordPress Trac] #13321: robots.txt broken?
WordPress Trac
wp-trac at lists.automattic.com
Mon May 10 13:03:59 UTC 2010
#13321: robots.txt broken?
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: General | Version: 3.0
Severity: normal | Keywords:
-------------------------------+--------------------------------------------
wp-trunk, no plugins, 2010 theme. visiting this url:
http://localhost/~denis/wp-trunk/robots.txt
results in a 404. It seems like the query parser broke at some point:
{{{
$this->query_vars =
$this->fill_query_vars($this->query_vars);
$qv = &$this->query_vars;
var_dump($query, $this->query_vars);
if ( ! empty($qv['robots']) )
$this->is_robots = true;
}}}
results in:
{{{
array(1) {
["pagename"]=>
string(10) "robots.txt"
}
array(43) {
["pagename"]=>
string(10) "robots.txt"
...
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13321>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list