[wp-trac] [WordPress Trac] #16785: Move cleanup of old auto-drafts to wp_cron
WordPress Trac
wp-trac at lists.automattic.com
Mon Mar 7 14:22:08 UTC 2011
#16785: Move cleanup of old auto-drafts to wp_cron
--------------------------+-----------------------------
Reporter: prettyboymp | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Performance | Version: 3.1
Severity: normal | Keywords: needs-patch
--------------------------+-----------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16785>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list