[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 Mar 19 22:58:45 UTC 2014


#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:  3.9
Component:  Query        |     Version:  3.7
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------

Comment (by ethitter):

 Replying to [comment:26 nacin]:
 >Still need to investigate if there are any additional issues for posts
 published at the same time, or something else triggering looping etc.

 I created three posts with identical publish times. Loading any of the
 three posts didn't lead to any sort of loop or recursion in the queries.
 Comparing the order from the post list table ([attachment:post-list.png])
 to the display per the Twenty Thirteen theme ([attachment:twenty-
 thirteen.png]), the order matches. I don't see any indication that the
 current `WP_Query` arguments are going to trigger any looping.

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


More information about the wp-trac mailing list