[wp-trac] [WordPress Trac] #17427: query_posts and tag
WordPress Trac
wp-trac at lists.automattic.com
Sat Aug 6 06:51:39 UTC 2011
#17427: query_posts and tag
-----------------------------------------+------------------------------
Reporter: venerabile | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.1.2
Severity: major | Resolution:
Keywords: reporter-feedback has-patch |
-----------------------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: reporter-feedback => reporter-feedback has-patch
Comment:
In 3.2, querying a non-existent tag doesn't return all posts, but throws
some warnings:
{{{
Notice: Trying to get property of non-object in wp-includes\general-
template.php on line 1657
Notice: Trying to get property of non-object in wp-includes\general-
template.php on line 1658
Notice: Trying to get property of non-object in wp-includes\post-
template.php on line 465
Notice: Trying to get property of non-object in wp-includes\post-
template.php on line 465
Notice: Trying to get property of non-object in wp-includes\post-
template.php on line 466
}}}
[attachment:17427.patch] fixes the warnings.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17427#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list