mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 11:35:48 +00:00
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: http://svn.automattic.com/wordpress/trunk@2363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ecf61fc382
commit
7431bdd75a
@ -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…
x
Reference in New Issue
Block a user