Ticket #14600: 14600.diff
File 14600.diff, 582 bytes (added by , 10 years ago) |
---|
-
wp-includes/query.php
1246 1246 function parse_query($query) { 1247 1247 if ( !empty($query) || !isset($this->query) ) { 1248 1248 $this->init(); 1249 if ( is_array($query) ) 1250 $this->query_vars = $query; 1251 else 1252 parse_str($query, $this->query_vars); 1253 $this->query = $query; 1249 $this->query = $this->query_vars = wp_parse_args($query); 1254 1250 } 1255 1251 1256 1252 $this->query_vars = $this->fill_query_vars($this->query_vars);