mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -160,6 +160,7 @@ class WP_Query {
|
||||
|
||||
if ('' != $qv['static'] || '' != $qv['pagename']) {
|
||||
$this->is_page = true;
|
||||
$this->is_single = false;
|
||||
}
|
||||
|
||||
if ('404' == $qv['error']) {
|
||||
|
||||
Reference in New Issue
Block a user