Opened 12 years ago
Closed 12 years ago
#28422 closed defect (bug) (fixed)
get_children() has incorrect @return value
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.0 | Priority: | normal |
| Severity: | normal | Version: | 2.9 |
| Component: | Posts, Post Types | Keywords: | good-first-bug has-patch |
| Focuses: | docs | Cc: |
Description
get_children() always returns an array since [11756].
The documentation, however, still says it returns false on failure: tags/3.9.1/src/wp-includes/post.php#L310.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 28677: