[wp-trac] [WordPress Trac] #32651: get_adjacent_post() doesn't return posts with the same date

WordPress Trac noreply at wordpress.org
Sat Jul 11 16:13:00 UTC 2015


#32651: get_adjacent_post() doesn't return posts with the same date
-------------------------------+-----------------------------
 Reporter:  willybahuaud       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Future Release
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  needs-unit-tests   |     Focuses:  template
-------------------------------+-----------------------------
Changes (by jorbin):

 * keywords:   => needs-unit-tests
 * milestone:  Awaiting Review => Future Release


Comment:

 Since the get_adjacent_post queries can be some of the worst performing
 queries, I'd like to see some performance metrics here to make sure we
 aren't making the queries worse by fixing this edge case.

 I'd also like to see some automated tests for this to ensure if we fix it
 we don't see it crop up again.

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


More information about the wp-trac mailing list