[wp-trac] [WordPress Trac] #17542: Remove upload file after deleting custom background
WordPress Trac
wp-trac at lists.automattic.com
Mon May 23 08:49:26 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 | Keywords:
----------------------------+-----------------------------
I came across a comment on custom-background.php that says
//@todo: uploaded files are not removed here.
So, I thought I will come up with this codes for the upload file deletion
if user remove background.
Attached custom-background.diff
I had tested on my localhost.
Hope this contribution is useful.
Thanks.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17542>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list