Opened 12 years ago
Closed 12 years ago
#28422 closed defect (bug) (fixed)
get_children() has incorrect @return value
| Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Posts, Post Types | Version: | 2.9 |
| Severity: | normal | Keywords: | good-first-bug has-patch |
| Cc: | Focuses: | docs |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 28677: