WordPress.org

Make WordPress Core

Changeset 32115


Ignore:
Timestamp:
04/11/2015 11:19:39 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Fix a copy/paste error in a comment.

see #31951.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/compat.php

    r32114 r32115  
    4141function _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' ) ) ) {
Note: See TracChangeset for help on using the changeset viewer.