[wp-trac] [WordPress Trac] #21790: When set a static front page WP main query isn't set correctly

WordPress Trac noreply at wordpress.org
Thu Dec 4 06:38:14 UTC 2014


#21790: When set a static front page WP main query isn't set correctly
-------------------------------------------------+-------------------------
 Reporter:  markoheijnen                         |       Owner:
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
Component:  Query                                |  Release
 Severity:  normal                               |     Version:  3.4.1
 Keywords:  needs-patch needs-unit-tests         |  Resolution:
  4.2-early                                      |     Focuses:
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch needs-unit-tests => needs-patch needs-unit-tests
     4.2-early
 * milestone:  Awaiting Review => Future Release


Comment:

 Just got bitten by this, trying to use `is_front_page()` in
 `pre_get_posts`.

 Looks like the patch on #27015 should resolve this.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21790#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list