[wp-trac] [WordPress Trac] #10230: get_pages function: number and child_of parameters conflict

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 3 22:01:50 UTC 2010


#10230: get_pages function: number and child_of parameters conflict
--------------------------+-------------------------------------------------
 Reporter:  ortsaipekim   |       Owner:  ryan                               
     Type:  defect (bug)  |      Status:  new                                
 Priority:  normal        |   Milestone:  3.0                                
Component:  Query         |     Version:  2.8                                
 Severity:  normal        |    Keywords:  get_pages, wp_list_pages, has-patch
--------------------------+-------------------------------------------------

Comment(by JoshSalverda):

 A quick fix for this is to pass in the "parent={parent_id}" along with all
 your other arguments. Obviously not a fix for the bug but if you need this
 sort of functionality then it will work for now.

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


More information about the wp-trac mailing list