WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#15822 closed defect (bug) (fixed)

get_adjacent_post & related functions documented incorrectly

Reported by: kawauso Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version:
Component: Inline Docs Keywords: has-patch
Focuses: Cc:

Description

get_adjacent_post(), get_previous_post() & get_next_post() documentation suggests that they return link strings but instead return the respective post objects.

Attachments (1)

15822.diff (2.3 KB) - added by kawauso 3 years ago.

Download all attachments as: .zip

Change History (4)

kawauso3 years ago

comment:1 kawauso3 years ago

  • Keywords has-patch added

comment:2 nacin3 years ago

  • Milestone changed from Awaiting Review to 3.1

comment:3 nacin3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [16951]) Inline doc fixes for get_next|previous|adjacent_post. props kawauso, fixes #15822.

Note: See TracTickets for help on using tickets.