[wp-trac] [WordPress Trac] #33076: rewrite get_adjacent_post in terms by using wp_query instead of hand written queries

WordPress Trac noreply at wordpress.org
Wed Jul 22 15:51:37 UTC 2015


#33076: rewrite get_adjacent_post in terms by using wp_query instead of hand
written queries
-------------------------+-----------------------------
 Reporter:  mark-k       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  3.7
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33076>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list