Revert [22365]. see #21167

git-svn-id: http://core.svn.wordpress.org/trunk@22403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren 2012-11-06 19:45:51 +00:00
parent 1049edd0bc
commit 8bb0fc5079

View File

@ -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])