mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 07:05:37 +01:00
Revert [6940]. Breaks atompub. see #5717
git-svn-id: http://svn.automattic.com/wordpress/trunk@6956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ed09992863
commit
a739979c12
@ -269,10 +269,6 @@ class WP {
|
|||||||
function query_posts() {
|
function query_posts() {
|
||||||
global $wp_the_query;
|
global $wp_the_query;
|
||||||
$this->build_query_string();
|
$this->build_query_string();
|
||||||
if( $this->did_permalink && $this->query_vars['error'] == '404' ){
|
|
||||||
$wp_the_query->parse_query($query);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$wp_the_query->query($this->query_vars);
|
$wp_the_query->query($this->query_vars);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user