mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-24 19:10:16 +00:00
8661fcf0d98af093ed21cc4336b338163bd94a42
MEDIA_TRASH:
* 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. git-svn-id: https://develop.svn.wordpress.org/trunk@29490 602fd350-edb4-49c9-b593-d223f7449a82
TinyMCE: update to 4.1.3, changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt, fixes #29166
Description
No description provided
Languages
PHP
80.5%
CSS
9.4%
JavaScript
8.5%
SCSS
0.9%
HTML
0.7%