Ticket #41745: 41745.patch
File 41745.patch, 371 bytes (added by , 8 years ago) |
---|
-
wp-includes/query.php
diff --git wp-includes/query.php wp-includes/query.php index 0ed1fab575..4c21af453f 100644
25 25 */ 26 26 function get_query_var( $var, $default = '' ) { 27 27 global $wp_query; 28 if( ! isset( $wp_query ) || ! method_exists( $wp_query, 'get' ) ) return $default; 28 29 return $wp_query->get( $var, $default ); 29 30 } 30 31