#7688 closed defect (bug) (duplicate)
get_children not working
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.6 |
| Component: | General | Keywords: | needs-patch needs-unit-tests |
| Focuses: | Cc: |
Description
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
Change History (7)
Note: See
TracTickets for help on using
tickets.
This is a duplicate of another ticket.