Fix a copy/paste error in a comment.
see #31951. git-svn-id: https://develop.svn.wordpress.org/trunk@32115 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2160e1ac95
commit
3c4b4ea0cc
@ -40,7 +40,7 @@ endif;
|
||||
|
||||
function _mb_strlen( $str, $encoding = null ) {
|
||||
// The solution below works only for UTF-8,
|
||||
// so in case of a different charset just use built-in substr()
|
||||
// so in case of a different charset just use built-in strlen()
|
||||
$charset = get_option( 'blog_charset' );
|
||||
if ( ! in_array( $charset, array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ) ) ) {
|
||||
return strlen( $str );
|
||||
|
Loading…
x
Reference in New Issue
Block a user