Ticket #37077: 37077.diff
File 37077.diff, 616 bytes (added by , 7 years ago) |
---|
-
class-wp.php
524 524 foreach ( (array) array_keys($this->query_vars) as $wpvar) { 525 525 if ( '' != $this->query_vars[$wpvar] ) { 526 526 $this->query_string .= (strlen($this->query_string) < 1) ? '' : '&'; 527 if ( !is_s calar($this->query_vars[$wpvar]) ) // Discard non-scalars.527 if ( !is_string($this->query_vars[$wpvar]) ) // Discard non-strings. 528 528 continue; 529 529 $this->query_string .= $wpvar . '=' . rawurlencode($this->query_vars[$wpvar]); 530 530 }