If the query is for a page, make sure single is false.
git-svn-id: https://develop.svn.wordpress.org/trunk@1645 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
83d1029ce2
commit
5980b30da1
|
@ -160,6 +160,7 @@ class WP_Query {
|
||||||
|
|
||||||
if ('' != $qv['static'] || '' != $qv['pagename']) {
|
if ('' != $qv['static'] || '' != $qv['pagename']) {
|
||||||
$this->is_page = true;
|
$this->is_page = true;
|
||||||
|
$this->is_single = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('404' == $qv['error']) {
|
if ('404' == $qv['error']) {
|
||||||
|
|
Loading…
Reference in New Issue