diff --git a/wp-includes/class-wp.php b/wp-includes/class-wp.php index 5298ff21ab..47ed0a04b4 100644 --- a/wp-includes/class-wp.php +++ b/wp-includes/class-wp.php @@ -308,7 +308,7 @@ class WP { $this->query_vars[ $wpvar ] = (string) $this->query_vars[ $wpvar ]; } else { foreach ( $this->query_vars[ $wpvar ] as $vkey => $v ) { - if ( ! is_object( $v ) ) { + if ( is_scalar( $v ) ) { $this->query_vars[ $wpvar ][ $vkey ] = (string) $v; } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 39cff7dc9c..ed39cdd43a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42417'; +$wp_version = '5.0-alpha-42419'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.