WordPress.org

Make WordPress Core

Opened 22 months ago

#42936 new defect (bug)

get_adjacent_post won't find any posts that are published in the same minute

Reported by: sheepysheep60 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.1
Component: General Keywords:
Focuses: Cc:
PR Number:

Description

get_adjacent_post won't find any posts that are posted in the same minute, even if they are technically posted before or after the other post.

This sounds silly but if you use a clone function to create multiple posts for a website, then you you can't navigate them using links created with get_previous_post or get_next_post.

Change History (0)

Note: See TracTickets for help on using tickets.