[wp-trac] [WordPress Trac] #29145: MEDIA_TRASH audit for Media Grid
WordPress Trac
noreply at wordpress.org
Thu Aug 14 09:37:21 UTC 2014
#29145: MEDIA_TRASH audit for Media Grid
----------------------------+-----------------------------------------
Reporter: wonderboymusic | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 4.0
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript, administration
----------------------------+-----------------------------------------
Comment (by wonderboymusic):
just had a 3.5 hour chat with Koop -
`media.view.Attachment.trashAttachment()` works in the sense that, yes, it
properly trashes the item on the backend, but this is only reflected in
mirrored attachment collections when
`media.model.Attachments.validateDestroyed` is set to `true`. That's fine.
It can be toggled via `settings.mediaTrash`.
The remaining issue is when a Trashed item is Untrashed. The mirrored
collections are not updating properly. This will require some more digging
when I arise.
Zzzzzzzzzzz.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29145#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list