[wp-trac] [WordPress Trac] #11470: Don't have wp_delete_post and wp_delete_attachment trash the item by default
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 17 12:15:48 UTC 2009
#11470: Don't have wp_delete_post and wp_delete_attachment trash the item by
default
--------------------------+-------------------------------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Trash | Version: 2.9
Severity: normal | Keywords: dev-feedback
--------------------------+-------------------------------------------------
Comment(by Denis-de-Bernardy):
Replying to [comment:5 caesarsgrunt]:
> I think all the wp_delete_* functions should call wp_trash_* if the item
isn't already trashed - for back compat.
agreeing 100%
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11470#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list