Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#5411 closed enhancement (fixed)

Refactor next_post_link, previous_post_link

Reported by: xknown's profile xknown Owned by:
Milestone: 2.5 Priority: low
Severity: minor Version: 2.3.1
Component: Optimization Keywords: has-patch
Focuses: Cc:

Description

next_post_link and previous_post_link use similar code and make unnecessary database queries to retrieve the previous/next post permalink.

Attachments (1)

5411.diff (6.8 KB) - added by xknown 16 years ago.

Download all attachments as: .zip

Change History (3)

@xknown
16 years ago

#1 @lloydbudd
16 years ago

  • Keywords has-patch added
  • Milestone set to 2.4

#2 @ryan
16 years ago

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

(In [6359]) Refactor next_post_link, previous_post_link. props xknown. fixes #5411

Note: See TracTickets for help on using tickets.