Changeset 31554 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 02/26/2015 05:47:53 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r31249 r31554 634 634 $string = preg_split( '/(&#?x?[0-9a-z]+;)/i', $string, -1, PREG_SPLIT_DELIM_CAPTURE ); 635 635 636 for ( $i = 0 ; $i < count( $string ); $i += 2 )636 for ( $i = 0, $c = count( $string ); $i < $c; $i += 2 ) { 637 637 $string[$i] = @htmlspecialchars( $string[$i], $quote_style, $charset ); 638 638 } 639 639 $string = implode( '', $string ); 640 640 }
Note: See TracChangeset
for help on using the changeset viewer.