Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#15822 closed defect (bug) (fixed)

get_adjacent_post & related functions documented incorrectly

Reported by: kawauso's profile 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 14 years ago.

Download all attachments as: .zip

Change History (4)

@kawauso
14 years ago

#1 @kawauso
14 years ago

  • Keywords has-patch added

#2 @nacin
14 years ago

  • Milestone changed from Awaiting Review to 3.1

#3 @nacin
14 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.