[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 13:50:26 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 | Keywords: dev-feedback
--------------------------+-----------------------------
In my project I use on several places pre_get_posts filter. When setting a
static frontpage and blog page I get several notices on my screen. When I
var_dump the main query the only value that is set it the page_id.
Even the post_type isn't set.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21790>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list