Skip to content

Commit 0803a8a

Browse files
committed
Revert [6940]. Breaks atompub. see WordPress#5717
git-svn-id: https://develop.svn.wordpress.org/trunk@6956 602fd350-edb4-49c9-b593-d223f7449a82
1 parent da73b74 commit 0803a8a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

wp-includes/classes.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,6 @@ function init() {
269269
function query_posts() {
270270
global $wp_the_query;
271271
$this->build_query_string();
272-
if( $this->did_permalink && $this->query_vars['error'] == '404' ){
273-
$wp_the_query->parse_query($query);
274-
return;
275-
}
276272
$wp_the_query->query($this->query_vars);
277273
}
278274

0 commit comments

Comments
 (0)