[wp-trac] [WordPress Trac] #21790: When set a static front page WP main query isn't set correctly
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 4 22:05:57 UTC 2012
#21790: When set a static front page WP main query isn't set correctly
--------------------------+------------------------------
Reporter: markoheijnen | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.4.1
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+------------------------------
Comment (by markoheijnen):
In my case I'm using is_page_template() and is_front_page() on the filter.
How I look in the code this will only work inside the loop but I can be
wrong. However I somehow do expect it to work without the need of a loop.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21790#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list