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

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 9 14:58:50 UTC 2009


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

Comment(by arakeis):

 the proposed patch passes the number argument to the get_children function
 and prevents get_pages from limit(ing) the result from the query.
 works fine on one of my client's site.

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


More information about the wp-trac mailing list