Fixed it so the mod_rewrite regex no longer matches EVERY URI.
git-svn-id: https://develop.svn.wordpress.org/trunk@573 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
74e328860e
commit
3ccfa661ea
|
@ -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