[wp-trac] [WordPress Trac] #17542: Remove upload file after deleting custom background

WordPress Trac wp-trac at lists.automattic.com
Mon May 23 13:13:23 UTC 2011


#17542: Remove upload file after deleting custom background
----------------------------+------------------------------
 Reporter:  denzel_chia     |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------------
Changes (by kawauso):

 * keywords:   => has-patch


Comment:

 Not got a theme to test this with, but shouldn't we delete the attachment
 on reset as well?

 Attaching a patch that does this and checks we actually have an attachment
 ID before trying to delete it.

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


More information about the wp-trac mailing list