mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
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:
parent
be186a5135
commit
10c71b6d01
@ -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