mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 12:35:03 +00: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']) &&
|
('/' != $_SERVER['PATH_INFO']) &&
|
||||||
(false === strpos($_SERVER['PATH_INFO'], '.php'))
|
(false === strpos($_SERVER['PATH_INFO'], '.php'))
|
||||||
) ||
|
) ||
|
||||||
((false === strpos($_SERVER['REQUEST_URI'], '.php')) &&
|
(false === strpos($_SERVER['REQUEST_URI'], '.php'))
|
||||||
('/' != $_SERVER['REQUEST_URI']))
|
|
||||||
) {
|
) {
|
||||||
|
|
||||||
$this->did_permalink = true;
|
$this->did_permalink = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user