[wp-trac] [WordPress Trac] #49294: If multiple posts has same date, get_previous_post() and get_next_post() returns only first/last of them

WordPress Trac noreply at wordpress.org
Wed Sep 3 15:33:10 UTC 2025


#49294: If multiple posts has same date, get_previous_post() and get_next_post()
returns only first/last of them
-------------------------------+------------------------------
 Reporter:  oskarijarvelin     |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by kitchin):

 Duplicate of #32651.

 #42936 is also a duplicate but is held up by irrelevant work on WP_Query
 (in my opinion).
 See: 42936#comment:22

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


More information about the wp-trac mailing list