[wp-trac] [WordPress Trac] #21790: When set a static front page WP main query isn't set correctly
WordPress Trac
noreply at wordpress.org
Fri Aug 9 20:18:44 UTC 2013
#21790: When set a static front page WP main query isn't set correctly
--------------------------+----------------------
Reporter: markoheijnen | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Query | Version: 3.4.1
Severity: normal | Resolution: wontfix
Keywords: |
--------------------------+----------------------
Comment (by markoheijnen):
Ticket is dead since I have no clue how to fix it. The problem is that
even core developers say you can use is_front_page() or is_home on the
hook {{{pre_get_posts}}} but you can't since it needs the page obj if a
static page has been set. It also will fail then.
So no clue if the code should be fixed or the story we tell to developers.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21790#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list