WordPress/wp-admin/includes
Scott Taylor 571111022e Media Grid, support 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.

Built from https://develop.svn.wordpress.org/trunk@29490


git-svn-id: http://core.svn.wordpress.org/trunk@29268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-14 18:31:19 +00:00
..
admin.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
ajax-actions.php Media Grid, support MEDIA_TRASH: 2014-08-14 18:31:19 +00:00
bookmark.php Fix wp_insert_link(), broken in [28406]/[28408]. 2014-05-18 09:56:15 +00:00
class-ftp-pure.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
class-ftp-sockets.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
class-ftp.php "LGPL License" is redundant. 2013-02-15 16:26:46 +00:00
class-pclzip.php
class-wp-comments-list-table.php Add @access tags to constructor docblocks in list table classes. 2014-08-10 02:22:16 +00:00
class-wp-filesystem-base.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
class-wp-filesystem-direct.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
class-wp-filesystem-ftpext.php Add access modifier (public) to members and methods in WP_Filesystem_FTPext. 2014-05-19 00:12:15 +00:00
class-wp-filesystem-ftpsockets.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
class-wp-filesystem-ssh2.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
class-wp-importer.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
class-wp-links-list-table.php Add @access tags to constructor docblocks in list table classes. 2014-08-10 02:22:16 +00:00
class-wp-list-table.php Add @access tags to constructor docblocks in list table classes. 2014-08-10 02:22:16 +00:00
class-wp-media-list-table.php Add @access tags to constructor docblocks in list table classes. 2014-08-10 02:22:16 +00:00
class-wp-ms-sites-list-table.php Add @access tags to constructor docblocks in list table classes. 2014-08-10 02:22:16 +00:00
class-wp-ms-themes-list-table.php Add @access tags to constructor docblocks in list table classes. 2014-08-10 02:22:16 +00:00
class-wp-ms-users-list-table.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
class-wp-plugin-install-list-table.php Plugin install: Make plugin groups translatable. 2014-08-13 02:31:18 +00:00
class-wp-plugins-list-table.php Add @access tags to constructor docblocks in list table classes. 2014-08-10 02:22:16 +00:00
class-wp-posts-list-table.php Add @access tags to constructor docblocks in list table classes. 2014-08-10 02:22:16 +00:00
class-wp-terms-list-table.php Add @access tags to constructor docblocks in list table classes. 2014-08-10 02:22:16 +00:00
class-wp-theme-install-list-table.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
class-wp-themes-list-table.php Add @access tags to constructor docblocks in list table classes. 2014-08-10 02:22:16 +00:00
class-wp-upgrader-skins.php Language Upgrader: Don't print a footer when translations are updated async. 2014-08-02 15:16:16 +00:00
class-wp-upgrader.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
class-wp-users-list-table.php Add @access tags to constructor docblocks in list table classes. 2014-08-10 02:22:16 +00:00
comment.php Inline documentation for hooks in wp-admin/includes/comment.php. 2013-09-14 01:01:08 +00:00
continents-cities.php
dashboard.php wp_dashboard_cached_rss_widget() contained some func_get_args() code that was indescribably weird. 2014-08-07 21:47:16 +00:00
deprecated.php Use correct function name. 2014-05-22 07:59:16 +00:00
export.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
file.php In sanitize_file_name(), replace %20 and + with dashes. Remove unnecessary code from _wp_handle_upload(). 2014-07-24 22:09:16 +00:00
image-edit.php Remove requirement for a minimum image size in the image editor. 2014-07-21 19:10:14 +00:00
image.php Add exif orientation to data extracted in wp_read_image_metadata(). 2014-07-24 22:14:16 +00:00
import.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
list-table.php Fix mismatches in access modifiers for WP_List_Table + subclasses. 2014-07-13 22:09:16 +00:00
media.php Media Upload: Improve styling of error messages. 2014-08-02 14:14:19 +00:00
menu.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
meta-boxes.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
misc.php Editor: use the post_edit_form_tag action to add autocomplete="off" to the whole form on the Add/Edit Post screen in WebKit. Prevents editor problems when the browser's Back button is used. Fixes #28037. 2014-08-08 20:54:15 +00:00
ms-deprecated.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
ms.php In update_option_new_admin_email(), $email is set and never used. 2014-05-06 16:48:14 +00:00
nav-menu.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
plugin-install.php Plugin details modal: 2014-08-12 23:02:16 +00:00
plugin.php In add_submenu_page(), avoid inadvertently copying classes of a menu item to the first submenu item. 2014-07-29 16:08:16 +00:00
post.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
revision.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
schema.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
screen.php Editor scrolling: 2014-08-01 02:43:17 +00:00
taxonomy.php Fix an incomplete docblock for wp_create_categories() as part of $post/$post_id cleanup. 2014-07-03 19:22:15 +00:00
template.php Add screen reader text to announce that menu item accordion sections are expandable. Remove redundant title attribute. 2014-07-19 02:21:14 +00:00
theme-install.php Bring the theme browsing experience from 3.8 to the theme installer. First pass. 2014-03-11 07:47:15 +00:00
theme.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
update-core.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
update.php Fix some hackificator odds and ends in wp-admin: 2014-05-19 05:04:16 +00:00
upgrade.php Language chooser imporvements. 2014-08-04 20:47:16 +00:00
user.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
widgets.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00