Make WordPress Core

Opened 21 years ago

Closed 21 years ago

#2426 closed defect (bug) (fixed)

post_status = future

Reported by: ryan Owned by: ryan
Priority: normal Milestone: 2.1
Component: Administration Version: 2.0.1
Severity: normal Keywords: future cron publish
Cc: Focuses:

Description

Instead of checking for post_date_gmt < $now in queries, set the post status for posts to be published in the future to 'future' and use pseudo-cron to publish them later. See #2425 for pseudo-cron details.

Removing $now from queries will speed them up and allow them to be cached.

Attachments (1)

future.diff​ (13.6 KB ) - added by ryan 21 years ago.
First cut at post_status = future

Download all attachments as: .zip

Change History (3)

@ryan
21 years ago

First cut at post_status = future

#2 @ryan
21 years ago

  • Resolution → fixed
  • Status new → closed
Note: See TracTickets for help on using tickets.