Opened 6 years ago
Closed 6 years ago
#4263 closed defect (bug) (invalid)
get_next_post should not generate link to future article
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
get_next_post should not take an article into account if it is published but its post_date is in the future.
Attachments (1)
Change History (5)
comment:4
markjaquith — 6 years ago
- Milestone 2.4 (future) deleted
- Resolution set to invalid
- Status changed from new to closed
post_type = 'publish' takes care of this. Posts in the future will have a post_type of 'future'
Re-open if you have steps to reproduce an unexpected result.
Note: See
TracTickets for help on using
tickets.

Patch