[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
Thu Mar 20 02:58:49 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:
-------------------------+---------------------
Changes (by nacin):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"27635"]:
 {{{
 #!CommitTicketReference repository="" revision="27635"
 Fix various issues with WP_Adjacent_Post:
  * Performance / number of queries.
  * Incorrect results caused by sticky posts.
  * Back compat for filters, which had used "WHERE" while WP_Query does
 not; and fixing table references.

 props ethitter.
 fixes #26937.
 }}}

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


More information about the wp-trac mailing list