Fixed it so the mod_rewrite regex no longer matches EVERY URI.
git-svn-id: http://svn.automattic.com/wordpress/trunk@573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bc2c6dad9a
commit
e011cfc534
|
@ -122,8 +122,10 @@ $queryreplace = array (
|
|||
|
||||
|
||||
$match = str_replace('/', '/?', $permalink_structure);
|
||||
$match = str_replace($rewritecode, $rewritereplace, $match);
|
||||
$match = preg_replace('|/[?]|', '', $match, 1);
|
||||
|
||||
$match = str_replace($rewritecode, $rewritereplace, $match);
|
||||
$match = preg_replace('|[?]|', '', $match, 1);
|
||||
preg_match_all('/%.+?%/', $permalink_structure, $tokens);
|
||||
|
||||
$query = 'index.php?';
|
||||
|
|
Loading…
Reference in New Issue