Index: class-wp.php
===================================================================
--- class-wp.php	(revision 37690)
+++ class-wp.php	(working copy)
@@ -524,7 +524,7 @@
 		foreach ( (array) array_keys($this->query_vars) as $wpvar) {
 			if ( '' != $this->query_vars[$wpvar] ) {
 				$this->query_string .= (strlen($this->query_string) < 1) ? '' : '&';
-				if ( !is_scalar($this->query_vars[$wpvar]) ) // Discard non-scalars.
+				if ( !is_string($this->query_vars[$wpvar]) ) // Discard non-strings.
 					continue;
 				$this->query_string .= $wpvar . '=' . rawurlencode($this->query_vars[$wpvar]);
 			}
