[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
Wed Jul 22 17:18:11 UTC 2015


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

Comment (by mark-k):

 ok, if it is not practical to change how the code works why not deprecate
 the functions and write new ones with the same parameters just implemented
 with wp_query while dropping the old filters.
 Performance is important but having a better code base is IMHO as
 important

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


More information about the wp-trac mailing list