[wp-trac] [WordPress Trac] #12376: WPQuery

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 25 17:29:34 UTC 2010


#12376: WPQuery
--------------------------+-------------------------------------------------
 Reporter:  sroucheray    |       Owner:       
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  2.9.3
Component:  General       |     Version:  2.9.2
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
 This code returns all my pages (tried with a number of 5 and 6 pages) :
 {{{
 $my_query = new WP_Query( array('order' => 'DESC', 'post_type' => 'page',
 'orderby'=>'menu_order') );
 }}}

 while this one returns only the fourth firsts (the only change is the
 order) :

 {{{
 $my_query = new WP_Query( array('order' => 'ASC', 'post_type' => 'page',
 'orderby'=>'menu_order') );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12376>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list