[wp-trac] [WordPress Trac] #39049: get_pages() docs say function returns list, actually returns array

WordPress Trac noreply at wordpress.org
Wed Dec 7 18:27:50 UTC 2016


#39049: get_pages() docs say function returns list, actually returns array
-------------------------------+------------------------------
 Reporter:  ovenall            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  has-patch close    |     Focuses:  docs
-------------------------------+------------------------------

Comment (by ben.meredith@…):

 When I hear list, I guess I just think about a `ul` or `ol` in html. As a
 relative beginner, I've been tripped up by it in the docs. If I went
 through and changed all of those and submitted a patch, would that be
 accepted? Since the PHPdocs are also pushed to the code reference, I think
 it could be a big help for devs like me. But I obviously defer to your
 knowledge there.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39049#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list