From ba7dbbe78d2b5345d1c0bc39565cee56cb16b0fb Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 6 Nov 2012 19:45:51 +0000 Subject: [PATCH] Revert [22365]. see #21167 git-svn-id: https://develop.svn.wordpress.org/trunk@22403 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/rewrite.php | 2 -- 1 file changed, 2 deletions(-) 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])