Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#33076 closed enhancement (duplicate)

rewrite get_adjacent_post in terms by using wp_query instead of hand written queries

Reported by: mark-k Owned by:
Priority: normal Milestone:
Component: Posts, Post Types Version: 3.7
Severity: normal Keywords:
Cc: Focuses:

Description

The reason for looking at that code is to find a way to ignore posts with some specific values in meta, something that became almost trivial to do when using wp_query.

If I get it right the changes done in wp_query in 3.7+ make it possible to use wp_query to find the next and previous posts.

Change History (2)

#1 @boonebgorges
11 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

Duplicate of #26937.

#2 @SergeyBiryukov
11 years ago

  • Component GeneralPosts, Post Types
Note: See TracTickets for help on using tickets.