mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-27 11:38:01 +01:00
571111022e
* Add a setting to `_wpMediaViewsL10n.settings`: `mediaTrash` * In the attachment edit modal, properly toggle between Trash/Untrash * In `media.view.Attachment`, add a method for `untrashAttachment` * When creating the grid toolbar, switch the setting order of subviews so that `media.view.DeleteSelectedButton` can listen to the instance of `media.view.AttachmentFilters.All` to update the text in its UI. * Add a new filter to `media.view.AttachmentFilters.All`, `trash`, when `settings.mediaTrash` is true * Allow the cached queries in `Query.get()` to be flushed when race conditions exist and collections need to be refreshed. This is currently only being used when `MEDIA_TRASH` is set, to refresh the filtered/mirrored collections related to `all`, `trash`, and any already queried filter. * Cleanup the bootstrapping of `media.view.MediaFrame.Manage` * Allow `wp_ajax_query_attachments()` to return items from the trash when `MEDIA_TRASH` is `true` * Allow `wp_ajax_save_attachment()` to set `post_status` when `MEDIA_TRASH` is `true`. It allows `wp_delete_post()` to be called, which will trash the attachment instead of deleting when the flag is set. Props koop for the knowledge sharing and thought partnership. See #29145. Built from https://develop.svn.wordpress.org/trunk@29490 git-svn-id: http://core.svn.wordpress.org/trunk@29268 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
admin-bar-rtl.css | ||
admin-bar-rtl.min.css | ||
admin-bar.css | ||
admin-bar.min.css | ||
buttons-rtl.css | ||
buttons-rtl.min.css | ||
buttons.css | ||
buttons.min.css | ||
dashicons.css | ||
dashicons.min.css | ||
editor-rtl.css | ||
editor-rtl.min.css | ||
editor.css | ||
editor.min.css | ||
jquery-ui-dialog-rtl.css | ||
jquery-ui-dialog-rtl.min.css | ||
jquery-ui-dialog.css | ||
jquery-ui-dialog.min.css | ||
media-views-rtl.css | ||
media-views-rtl.min.css | ||
media-views.css | ||
media-views.min.css | ||
wp-auth-check-rtl.css | ||
wp-auth-check-rtl.min.css | ||
wp-auth-check.css | ||
wp-auth-check.min.css | ||
wp-pointer-rtl.css | ||
wp-pointer-rtl.min.css | ||
wp-pointer.css | ||
wp-pointer.min.css |