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:
Sergey Biryukov 2015-04-11 23:19:39 +00:00
parent 2160e1ac95
commit 3c4b4ea0cc
1 changed files with 1 additions and 1 deletions

View File

@ -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 );