[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
Wed Sep 5 10:06:18 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        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------

Comment (by markoheijnen):

 Uhm okay, i do think it is wrong tho. 'pre_get_posts' is a place you want
 to use it since you want to control the main query.

 How I can see it now there is no way to do it then. Having said that it
 does work. I only get some notices.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21790#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list