When set a static front page WP main query isn't set correctly
|Reported by:||markoheijnen||Owned by:||SergeyBiryukov|
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.
Change History (29)
- Keywords dev-feedback removed
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
- Keywords needs-patch needs-unit-tests added
- Milestone changed from Awaiting Review to 4.0
- Keywords 4.2-early added
- Milestone changed from Awaiting Review to Future Release
Note: See TracTickets for help on using tickets.