From 8bb0fc50793c77dc0de8583f33aff85842421251 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: http://core.svn.wordpress.org/trunk@22403 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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])