[wp-trac] [WordPress Trac] #21194: Delete attachment AJAX fails when EMPTY_TRASH_DAYS is set to 0 days
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 9 22:56:11 UTC 2012
#21194: Delete attachment AJAX fails when EMPTY_TRASH_DAYS is set to 0 days
---------------------------+------------------------------
Reporter: simonwheatley | Owner:
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 2.0
Severity: normal | Resolution:
Keywords: dev-feedback |
---------------------------+------------------------------
Comment (by kurtpayne):
Replying to [comment:5 nacin]:
> I wouldn't mind converting all trash/untrash/delete-{$post_type} nonces
(including 'attachment') to be converted to a simple 'post'. Seems like
that would fix our problems.
This does fix the EMPTY_TRASH_DAYS issue.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21194#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list