Skip to content

Commit 3c4b4ea

Browse files
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
1 parent 2160e1a commit 3c4b4ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/compat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function mb_strlen( $str, $encoding = null ) {
4040

4141
function _mb_strlen( $str, $encoding = null ) {
4242
// The solution below works only for UTF-8,
43-
// so in case of a different charset just use built-in substr()
43+
// so in case of a different charset just use built-in strlen()
4444
$charset = get_option( 'blog_charset' );
4545
if ( ! in_array( $charset, array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ) ) ) {
4646
return strlen( $str );

0 commit comments

Comments
 (0)