[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
Sun Jun 10 19:31:53 UTC 2012
#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 nacin):
Related: #20899. is_home() should be able to be true when is_feed() is
true.
Earlier, I said "If you want to affect the front page, you'll probably
want to use is_front_page" — however, this won't work due to how
is_front_page() is a meta conditional that relies on the value of is_home.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18114#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list