Don't try to process path info when directly loading the feed files. Props to Toby Simmons. http://mosquito.wordpress.org/view.php?id=903
git-svn-id: https://develop.svn.wordpress.org/trunk@2363 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9dc9b14994
commit
1b3a0a7c5a
@ -17,7 +17,7 @@ $query_vars = array();
|
||||
if ((isset($_GET['error']) && $_GET['error'] == '404') ||
|
||||
((! empty($_SERVER['PATH_INFO'])) &&
|
||||
('/' != $_SERVER['PATH_INFO']) &&
|
||||
(false === strpos($_SERVER['PATH_INFO'], 'index.php'))
|
||||
(false === strpos($_SERVER['PATH_INFO'], '.php'))
|
||||
)) {
|
||||
|
||||
// If we match a rewrite rule, this will be cleared.
|
||||
|
Loading…
Reference in New Issue
Block a user