[wp-trac] [WordPress Trac] #26937: get_adjacent_post() should use WP_Query rather than build its own SQL query

WordPress Trac noreply at wordpress.org
Sat Jan 25 18:54:26 UTC 2014


#26937: get_adjacent_post() should use WP_Query rather than build its own SQL query
-------------------------+------------------------------
 Reporter:  ethitter     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Query        |     Version:  3.7
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by ethitter):

 [attachment:26937.patch] switches `get_adjacent_post()` to use `WP_Query`.
 It does not address the filters issue noted in the original ticket.

 The relevant unit tests introduced as part of #17807 are passing with
 [attachment:26937.patch] applied.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26937#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list