From 10c71b6d0139812050d848c81e25a68a90b8754e Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 16 Nov 2005 01:58:04 +0000 Subject: [PATCH] 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 --- wp-includes/classes.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/classes.php b/wp-includes/classes.php index e47f06dfc0..69a5dc00af 100644 --- a/wp-includes/classes.php +++ b/wp-includes/classes.php @@ -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;