#3189 closed enhancement (fixed)
get_children() should use get_posts()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Administration | Version: | 2.1 |
| Severity: | normal | Keywords: | has-patch 2nd-opinion |
| Cc: |
Description
Attached makes get_children() more useful for plugins by going through get_posts().
- Alter get_posts() to accept post_parent, post_type, post_status.
- get_children() calls get_posts().
Please check to ensure backwards compatibility.
Attachments (2)
Change History (6)
- Keywords has-patch 2nd-opinion added
- Owner changed from anonymous to mdawaffe
- Status changed from new to assigned
I guess the defaults should be empty strings for everything but post_parent to make it back compat.
Note: See
TracTickets for help on using
tickets.

Looks good offhand. Will test.