Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#5411 closed enhancement (fixed)

Refactor next_post_link, previous_post_link

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

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 19 years ago.

Download all attachments as: .zip

Change History (3)

@xknown
19 years ago

#1 @lloydbudd
19 years ago

  • Keywords has-patch added
  • Milestone → 2.4

#2 @ryan
19 years ago

  • Resolution → fixed
  • Status new → closed

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

Note: See TracTickets for help on using tickets.