[wp-trac] [WordPress Trac] #11442: Untrashed comments could be deleted by wp_scheduled_delete()
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 15 08:03:33 UTC 2009
#11442: Untrashed comments could be deleted by wp_scheduled_delete()
--------------------------+-------------------------------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.9
Component: Trash | Version: 2.9
Severity: blocker | Keywords: has-patch
--------------------------+-------------------------------------------------
Changes (by nacin):
* keywords: => has-patch
Comment:
This patch prevents wp_scheduled_delete() from deleting a comment with
trash meta that isn't currently in the trash. Provides coverage for posts
as well.
There should also be some scheduled cleanup to remove trash meta keys for
items not in the trash.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11442#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list