Changeset 32115
- Timestamp:
- 04/11/2015 11:19:39 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/compat.php
r32114 r32115 41 41 function _mb_strlen( $str, $encoding = null ) { 42 42 // The solution below works only for UTF-8, 43 // so in case of a different charset just use built-in s ubstr()43 // so in case of a different charset just use built-in strlen() 44 44 $charset = get_option( 'blog_charset' ); 45 45 if ( ! in_array( $charset, array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ) ) ) {
Note: See TracChangeset
for help on using the changeset viewer.