[wp-trac] [WordPress Trac] #39049: get_pages() docs say function returns list, actually returns array
WordPress Trac
noreply at wordpress.org
Sun Dec 4 15:58:51 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: trunk
Severity: normal | Keywords:
Focuses: docs |
-------------------------------+-----------------------------
This function returns an array of posts, not a list.
Please correct both first paragraph and “Returns” section.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39049>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list