[wp-trac] [WordPress Trac] #7688: get_children not working

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 4 17:48:31 GMT 2008


#7688: get_children not working
--------------------------+-------------------------------------------------
 Reporter:  security_man  |       Owner:  anonymous
     Type:  defect        |      Status:  new      
 Priority:  normal        |   Milestone:  2.8      
Component:  General       |     Version:  2.6      
 Severity:  normal        |    Keywords:           
--------------------------+-------------------------------------------------
 in version 2.6 get children is not acting the same as 2.5.1

 <?php
 $mykids = get_children("orderby=menu_order&post_parent=19");
 if($mykids):
 foreach($mykids as $post) :  ?>

 $mykids is totally empty and page 19 has children that are showing up as
 such in the raw $post array

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


More information about the wp-trac mailing list