Changeset 28806 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 06/23/2014 02:47:08 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/formatting.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r28802 r28806 482 482 */ 483 483 function seems_utf8($str) { 484 $length = strlen($str);484 $length = mbstring_binary_safe_strlen($str); 485 485 for ($i=0; $i < $length; $i++) { 486 486 $c = ord($str[$i]); … … 706 706 $unicode_length = 0; 707 707 708 $string_length = strlen( $utf8_string );708 $string_length = mbstring_binary_safe_strlen( $utf8_string ); 709 709 for ($i = 0; $i < $string_length; $i++ ) { 710 710
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)