WordPress.org

Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#6985 closed enhancement (fixed)

New Filters: previous_post_link and next_post_link

Reported by: JohnLamansky Owned by: ryan
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.5.1
Component: Template Keywords: has-patch hook filter adjacent_post_link
Focuses: Cc:

Description

Filter request to pass the output for adjacent_post_link through previous_post_link and next_post_link filters.

These filters could be useful for adding rel, title, or class attributes to the links, for example.

Attachments (1)

link-template.php.diff (459 bytes) - added by JohnLamansky 12 years ago.

Download all attachments as: .zip

Change History (7)

#1 @ryan
12 years ago

  • Owner changed from anonymous to ryan

#2 @ryan
12 years ago

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

(In [8108]) previous_post_link and next_post_link filters. Props JohnLamansky. fixes #6985 for trunk

#3 @ryan
12 years ago

(In [8109]) previous_post_link and next_post_link filters. Props JohnLamansky. fixes #6985 for 2.5

#4 @ryan
12 years ago

  • Milestone changed from 2.5.2 to 2.9

Milestone 2.5.2 deleted

#5 @JohnLamansky
12 years ago

  • Milestone 2.9 deleted

#6 @westi
12 years ago

  • Milestone set to 2.6
Note: See TracTickets for help on using tickets.