mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-26 14:23:00 +02:00
Fix a copy/paste error in a comment.
see #31951. Built from https://develop.svn.wordpress.org/trunk@32115 git-svn-id: http://core.svn.wordpress.org/trunk@32094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f008aea0e1
commit
b76cfbcdb4
@ -40,7 +40,7 @@ endif;
|
|||||||
|
|
||||||
function _mb_strlen( $str, $encoding = null ) {
|
function _mb_strlen( $str, $encoding = null ) {
|
||||||
// The solution below works only for UTF-8,
|
// 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' );
|
$charset = get_option( 'blog_charset' );
|
||||||
if ( ! in_array( $charset, array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ) ) ) {
|
if ( ! in_array( $charset, array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ) ) ) {
|
||||||
return strlen( $str );
|
return strlen( $str );
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user