[wp-trac] [WordPress Trac] #12108: cant delete attachments when deleting a post

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 3 16:59:39 UTC 2010


#12108: cant delete attachments when deleting a post
-----------------------------+----------------------------------------------
 Reporter:  unsalkorkmaz     |        Owner:         
     Type:  feature request  |       Status:  closed 
 Priority:  normal           |    Milestone:         
Component:  General          |      Version:  2.9.1  
 Severity:  normal           |   Resolution:  wontfix
 Keywords:                   |  
-----------------------------+----------------------------------------------

Comment(by janeforshort):

 As scribu pointed out, the reason is because media files may be used by
 other posts as well, which is why they must be deleted in the media
 library. If we changed it so that deleting a file from a post deleted it
 altogether from the system, it would break the existing behavior and cause
 a lot of unintentional deletions. Agree with wontfix.

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


More information about the wp-trac mailing list