[wp-trac] [WordPress Trac] #39049: get_pages() docs say function returns list, actually returns array
WordPress Trac
noreply at wordpress.org
Sat Nov 14 15:00:21 UTC 2020
#39049: get_pages() docs say function returns list, actually returns array
-------------------------------+-----------------------------
Reporter: ovenall | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Posts, Post Types | Version:
Severity: normal | Resolution: fixed
Keywords: needs-refresh | Focuses: docs
-------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"49595" 49595]:
{{{
#!CommitTicketReference repository="" revision="49595"
Docs: Clarify that `get_pages()` returns an array of pages, not an HTML
list.
Props ben.meredith at gmail.com, ovenall, johannadevos.
Fixes #39049. See #51768.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39049#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list