Changeset 11338 for trunk/wp-includes/formatting.php
- Timestamp:
- 05/15/2009 06:29:19 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r11313 r11338 241 241 $quote_style = ENT_NOQUOTES; 242 242 } 243 243 244 244 // Handle double encoding ourselves 245 245 if ( !$double_encode ) { 246 246 $string = wp_specialchars_decode( $string, $_quote_style ); 247 $string = preg_replace( '/&(#?x?[0-9 ]+|[a-z]+);/i', '|wp_entity|$1|/wp_entity|', $string );247 $string = preg_replace( '/&(#?x?[0-9a-z]+);/i', '|wp_entity|$1|/wp_entity|', $string ); 248 248 } 249 249
Note: See TracChangeset
for help on using the changeset viewer.