diff --git a/wp-includes/version.php b/wp-includes/version.php index b39d3c537e..6c186dc044 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31093'; +$wp_version = '4.2-alpha-31094'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index e7b74a6d45..a40e5f2f7a 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -2513,7 +2513,7 @@ class wpdb { * @return string|WP_Error The converted string, or a `WP_Error` object if the conversion fails. */ public function strip_invalid_text_for_column( $table, $column, $value ) { - if ( $this->check_ascii( $value ) || ! is_string( $value ) ) { + if ( ! is_string( $value ) || $this->check_ascii( $value ) ) { return $value; }