[wp-trac] [WordPress Trac] #28422: get_children() has incorrect @return value

WordPress Trac noreply at wordpress.org
Sat May 31 23:02:49 UTC 2014


#28422: get_children() has incorrect @return value
-------------------------------+----------------------------------------
 Reporter:  SergeyBiryukov     |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  4.0
Component:  Posts, Post Types  |    Version:  2.9
 Severity:  normal             |   Keywords:  needs-patch good-first-bug
  Focuses:  docs               |
-------------------------------+----------------------------------------
 `get_children()` always returns an array since [11756].

 The documentation, however, still says it returns false on failure:
 [source:tags/3.9.1/src/wp-includes/post.php#L310].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28422>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list