Ticket #5717: 404fix.diff
| File 404fix.diff, 469 bytes (added by misterbisson, 7 months ago) |
|---|
-
wp-includes/classes.php
old new 270 270 function query_posts() { 271 271 global $wp_the_query; 272 272 $this->build_query_string(); 273 if( $this->did_permalink && $this->query_vars['error'] == '404' ){ 274 $wp_the_query->parse_query($query); 275 return; 276 } 273 277 $wp_the_query->query($this->query_vars); 274 278 } 275 279
