mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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?';
|
||||
|
||||
Reference in New Issue
Block a user