If the query is for a page, make sure single is false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5d9dc8f231
commit
a165b366ab
|
@ -160,6 +160,7 @@ class WP_Query {
|
|||
|
||||
if ('' != $qv['static'] || '' != $qv['pagename']) {
|
||||
$this->is_page = true;
|
||||
$this->is_single = false;
|
||||
}
|
||||
|
||||
if ('404' == $qv['error']) {
|
||||
|
|
Loading…
Reference in New Issue