Opened 14 years ago
Closed 13 years ago
#16785 closed defect (bug) (duplicate)
Move cleanup of old auto-drafts to wp_cron
Reported by: | prettyboymp | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.1 |
Component: | Performance | Keywords: | has-patch |
Focuses: | Cc: |
Description
get_default_post_to_edit() currently runs a query to delete old auto-draft posts. This doesn't need to be run every time a new post is created and should be converted to a cron task that runs once a day at most.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Maybe this could be tied to the trash emptying job?