Ticket #21167: 21167.2.patch
| File 21167.2.patch, 502 bytes (added by SergeyBiryukov, 11 months ago) |
|---|
-
wp-includes/rewrite.php
1251 1251 } 1252 1252 } 1253 1253 1254 $permalink_structure = preg_quote( $permalink_structure ); 1255 1254 1256 //get everything up to the first rewrite tag 1255 1257 $front = substr($permalink_structure, 0, strpos($permalink_structure, '%')); 1256 1258 //build an array of the tags (note that said array ends up being in $tokens[0])
