diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index 708620781a..5193c3861d 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -1251,8 +1251,6 @@ class WP_Rewrite { } } - $permalink_structure = preg_quote( $permalink_structure ); - //get everything up to the first rewrite tag $front = substr($permalink_structure, 0, strpos($permalink_structure, '%')); //build an array of the tags (note that said array ends up being in $tokens[0])