From 3c4b4ea0cc2131f314351b3c87f5ce54799a3aea Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 11 Apr 2015 23:19:39 +0000 Subject: [PATCH] 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 --- src/wp-includes/compat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/compat.php b/src/wp-includes/compat.php index 4196102f4f..43667053f1 100644 --- a/src/wp-includes/compat.php +++ b/src/wp-includes/compat.php @@ -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 );