When set a static front page WP main query isn't set correctly
|Reported by:||markoheijnen||Owned by:|
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 (15)
comment:9 SergeyBiryukov — 18 months ago
comment:12 wonderboymusic — 7 months ago
- Keywords dev-feedback removed
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
comment:14 markoheijnen — 5 months ago
- Resolution wontfix deleted
- Status changed from closed to reopened
Note: See TracTickets for help on using tickets.