WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#25743 closed defect (bug) (fixed)

Incorrect argument in get_next_post_link function

Reported by: jim912 Owned by: SergeyBiryukov
Milestone: 3.8 Priority: normal
Severity: normal Version: 3.7
Component: Template Keywords: has-patch
Focuses: Cc:

Description

The default value of the first argument in get_next_post_link is set to « %link. Correct value should be %link ».

Attachments (2)

link-template.php.diff (312 bytes) - added by jim912 6 years ago.
get_next_post_link.patch (1.1 KB) - added by ounziw 6 years ago.

Download all attachments as: .zip

Change History (7)

#1 @ounziw
6 years ago

Doccomment should be fixed.

#2 @SergeyBiryukov
6 years ago

  • Component changed from General to Template
  • Milestone changed from Awaiting Review to 3.8
  • Version changed from trunk to 3.7

Appears to be a copy/paste error in [25327].

#3 @SergeyBiryukov
6 years ago

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

In 25965:

Fix a copy/paste error in get_next_post_link() description and $format argument. props jim912, ounziw. fixes #25743.

#4 @SergeyBiryukov
6 years ago

In 25966:

Restore @see get_next_post_link() reference and move it to next_post_link(). see #25743.

#5 @DrewAPicture
6 years ago

#25695 was marked as a duplicate.

Note: See TracTickets for help on using tickets.