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

git-svn-id: http://svn.automattic.com/wordpress/trunk@3097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-11-16 01:58:04 +00:00
parent be186a5135
commit 10c71b6d01
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;