diff --git a/wp-includes/compat.php b/wp-includes/compat.php index 4196102f4f..43667053f1 100644 --- a/wp-includes/compat.php +++ b/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 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 27b15dbf33..25a1bec4e3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-beta4-32114'; +$wp_version = '4.2-beta4-32115'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.