WordPress.org

Make WordPress Core

Opened 10 months ago

Last modified 10 months ago

#51768 new defect (bug)

In documentation, replace references to 'list' with 'array'

Reported by: johannadevos Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version:
Component: General Keywords:
Focuses: docs Cc:

Description (last modified by SergeyBiryukov)

In ticket #39049, a patch was submitted to replace the word 'list' with 'array' in one function.

On that ticket, there was a comment saying that "the terms array and list are often used interchangeably in documentation throughout WordPress core. In fact, searching for "a list of" in core returns almost 150 results."

For this ticket, replace all occurrences of 'list' in function documentation with 'array'.

Change History (3)

#1 @justinahinon
10 months ago

  • Focuses docs added

#2 @SergeyBiryukov
10 months ago

  • Description modified (diff)

#3 @SergeyBiryukov
10 months ago

In 49595:

Docs: Clarify that get_pages() returns an array of pages, not an HTML list.

Props ben.meredith@…, ovenall, johannadevos.
Fixes #39049. See #51768.

Note: See TracTickets for help on using tickets.