[wp-trac] [WordPress Trac] #11673: Need confirmation/undo/something for media delete
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 31 06:05:47 UTC 2009
#11673: Need confirmation/undo/something for media delete
----------------------------+-----------------------------------------------
Reporter: rob1n | Owner:
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 2.9.1
Component: Administration | Version: 2.9
Severity: normal | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment(by nacin):
I'm noticing that we need to check for EMPTY_TRASH_DAYS as well here,
otherwise if trash is disabled but media trash is enabled, it deletes
without an AYS. Could be considered an edge case, but if someone enables
MEDIA_TRASH then decides to turn off trash all together, EMPTY_TRASH_DAYS
= 0 should override everywhere. (And it does in all MEDIA_TRASH checks
except here.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11673#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list