[wp-trac] [WordPress Trac] #11455: Bulk "Delete Permanently" moves attachments to trash

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 17 00:08:06 UTC 2009


#11455: Bulk "Delete Permanently" moves attachments to trash
--------------------------+-------------------------------------------------
 Reporter:  scribu        |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:  3.0     
Component:  Media         |      Version:  2.9     
 Severity:  normal        |   Resolution:          
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by azaozz):

  * milestone:  2.9 => 3.0


Comment:

 Replying to [comment:8 nacin]:
 > Random thought -- we should add wp_trash_attachment() to 3.0.

 Yes, don't really like how `wp_trash_post()` calls
 `wp_delete_attachment()` and `wp_delete_attachment()` calls back
 `wp_trash_post()` in the above patch...

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11455#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list