[wp-trac] [WordPress Trac] #42936: get_adjacent_post won't find any posts that are published in the same minute

WordPress Trac noreply at wordpress.org
Thu Dec 18 19:43:51 UTC 2025


#42936: get_adjacent_post won't find any posts that are published in the same
minute
-------------------------------+--------------------------
 Reporter:  sheepysheep60      |       Owner:  johnbillion
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:  4.9.1
 Severity:  normal             |  Resolution:  duplicate
 Keywords:  needs-testing      |     Focuses:
-------------------------------+--------------------------
Changes (by SirLouen):

 * status:  assigned => closed
 * resolution:   => duplicate
 * milestone:  Future Release =>


Comment:

 == Reproduction Report
 === Description
 ❌ This report can't validate that the report can be reproduced

 === Environment
 - WordPress: 6.9
 - PHP: 8.3.28-dev
 - Server: PHP.wasm
 - Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.51.0)
 - Browser: Chrome 143.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Thirteen 4.5
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.1


 === Testing Instructions

 1. I'm using the following blueprint in WordPress Playground
 https://playground.wordpress.net/?blueprint-
 url=https%3A%2F%2Fgist.githubusercontent.com%2FSirLouen%2Fd68a7f862999bfe24d67d19cdda5930b%2Fraw%2F07df1f4d653228c29f8dab812af19946cc56cf59%2Fblueprint.json
 2. This adds, the 2013 theme, which by default generates the nav links in
 the single posts with `get_adjacent_post`, so it can be easily debugged.
 3. It also creates 5 posts with the exact same date
 4. 👌 No problems found in the navigation. `get_adjacent_post` is
 returning the posts regardless of the identical date.

 === Actual Results
 1. ❌ Error condition is not ocurring

 === Additional Notes
 - I think this was solved in [61066], so I will be closing all related as
 duplicates of #8107

 === Supplemental Artifacts
 Blueprint:
 https://gist.githubusercontent.com/SirLouen/d68a7f862999bfe24d67d19cdda5930b/raw/07df1f4d653228c29f8dab812af19946cc56cf59/blueprint.json

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


More information about the wp-trac mailing list