Execute rewrite rules for / so that plugins can add rules. Props: filosofo. fixes #1864

git-svn-id: https://develop.svn.wordpress.org/trunk@3097 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-11-16 01:58:04 +00:00
parent a0d9c53007
commit 35dd21caec
1 changed files with 1 additions and 2 deletions

View File

@ -1417,8 +1417,7 @@ class WP {
('/' != $_SERVER['PATH_INFO']) &&
(false === strpos($_SERVER['PATH_INFO'], '.php'))
) ||
((false === strpos($_SERVER['REQUEST_URI'], '.php')) &&
('/' != $_SERVER['REQUEST_URI']))
(false === strpos($_SERVER['REQUEST_URI'], '.php'))
) {
$this->did_permalink = true;