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;