Changeset 10392 for branches/2.7/wp-includes/formatting.php
- Timestamp:
- 01/21/2009 06:51:48 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.7/wp-includes/formatting.php
r10391 r10392 1306 1306 } else { 1307 1307 $subject = str_replace('_', ' ', $matches[2]); 1308 /** @todo use preg_replace_callback() */ 1309 $subject = preg_replace('#\=([0-9a-f]{2})#ei', "chr(hexdec(strtolower('$1')))", $subject); 1308 $subject = preg_replace_callback('#\=([0-9a-f]{2})#i', create_function('$match', 'return chr(hexdec(strtolower($match[1])));'), $subject); 1310 1309 return $subject; 1311 1310 }
Note: See TracChangeset
for help on using the changeset viewer.