Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#2426 closed defect (bug) (fixed)

post_status = future

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

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 19 years ago.
First cut at post_status = future

Download all attachments as: .zip

Change History (3)

@ryan
19 years ago

First cut at post_status = future

#2 @ryan
19 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.