In [32299], we should be using `mb_strlen()` for our string size checks.

Built from https://develop.svn.wordpress.org/trunk@32306


git-svn-id: http://core.svn.wordpress.org/trunk@32277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2015-04-27 14:42:27 +00:00
parent 95d5fa28b4
commit 85d327d4bd
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32299';
$wp_version = '4.3-alpha-32306';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -2064,7 +2064,7 @@ class wpdb {
}
}
if ( false !== $value['length'] && strlen( $value['value'] ) > $value['length'] ) {
if ( false !== $value['length'] && mb_strlen( $value['value'] ) > $value['length'] ) {
return false;
}