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:
parent
a0d9c53007
commit
35dd21caec
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user