[wp-trac] [WordPress Trac] #18114: is_home erroneously returns true for queries on non-public post types
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 16 00:22:20 UTC 2011
#18114: is_home erroneously returns true for queries on non-public post types
--------------------------+------------------------------
Reporter: batmoo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.2
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by SergeyBiryukov):
> or you should be checking wp_query against the original query object
(wp_the_query) to make sure you're operating on the main loop.
Related: #18677
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18114#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list