[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 Feb 26 17:43:28 UTC 2014


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

Comment (by nacin):

 #24672 is pretty specific to allowing our all-important models to continue
 to evolve without worrying about breaking plugins. Other classes are case-
 by-case. I don't think there is much of a use case in extending
 WP_Adjacent_Post, but if someone wanted to, it doesn't matter to me that
 much.

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


More information about the wp-trac mailing list