WordPress/wp-admin/includes
John Blackbourn 2916cd9417 Media: bring the capability check in `wp_ajax_crop_image()` inline with those in `wp_ajax_imgedit_preview()` and `wp_ajax_image_editor()`.
This change means that a user can crop an image if they have the ability to edit its attachment post, without requiring the ability to access the Customizer.

Fixes #40193

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


git-svn-id: http://core.svn.wordpress.org/trunk@41110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-08-19 13:30:43 +00:00
..
admin-filters.php Options, Meta APIs: Require a confirmation link in an email to be clicked when an admin attempts to change the site admin email address. 2017-08-14 20:13:43 +00:00
admin.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
ajax-actions.php Media: bring the capability check in `wp_ajax_crop_image()` inline with those in `wp_ajax_imgedit_preview()` and `wp_ajax_image_editor()`. 2017-08-19 13:30:43 +00:00
bookmark.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
class-automatic-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-bulk-plugin-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-bulk-theme-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-bulk-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-core-upgrader.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-file-upload-upgrader.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-ftp-pure.php FTP: ensure that there is only one class named `ftp`, which is what is expected in the loading of this arcane library. This ensures that an autoload generator, something along the lines of Composer, won't hiccup when it gets to these files. 2016-08-26 18:47:29 +00:00
class-ftp-sockets.php FTP: ensure that there is only one class named `ftp`, which is what is expected in the loading of this arcane library. This ensures that an autoload generator, something along the lines of Composer, won't hiccup when it gets to these files. 2016-08-26 18:47:29 +00:00
class-ftp.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
class-language-pack-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-language-pack-upgrader.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-pclzip.php Filesystem API: Ensure memory limit calculations by PclZip are using integers. 2016-07-19 11:55:30 +00:00
class-plugin-installer-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-plugin-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-plugin-upgrader.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-theme-installer-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-theme-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-theme-upgrader.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-walker-category-checklist.php General: Fix more instances of inconsistent parameters passed to various filters, plus fix some filter docs. 2017-08-03 16:13:44 +00:00
class-walker-nav-menu-checklist.php Docs: `Walker_Nav_Menu_Checklist` and `Walker_Nav_Menu_Edit` are part of the Navigation Menu API, but intended for use in the scope of administration. 2015-10-15 17:26:24 +00:00
class-walker-nav-menu-edit.php Menus: Visually hide the menu item edit link text in a consistent way. 2017-08-03 22:12:43 +00:00
class-wp-ajax-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-automatic-updater.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-comments-list-table.php Docs: Remove some more top-level `@aacess` tags from function DocBlocks. 2017-07-27 08:19:43 +00:00
class-wp-community-events.php Docs: Replace HTTP links to stackoverflow.com in DocBlocks with HTTPS. 2017-07-30 14:52:44 +00:00
class-wp-filesystem-base.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-filesystem-direct.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-filesystem-ftpext.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-filesystem-ftpsockets.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-filesystem-ssh2.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-importer.php Docs: Use a third-person singular verb in the DocBlock summary for `WP_Importer::stop_the_insanity()`. 2017-07-30 15:46:43 +00:00
class-wp-internal-pointers.php Docs: Clarify the file header summary for wp-admin/includes/class-wp-internal-pointers.php, introduced in [34241]. 2015-09-22 14:35:25 +00:00
class-wp-links-list-table.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-list-table-compat.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-list-table.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-media-list-table.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-ms-sites-list-table.php Docs: Reduce confusion in `@since MU` notationss by indicating the WP version (3.0.0) the code was merged into core while retaining the original context. 2017-08-01 20:44:43 +00:00
class-wp-ms-themes-list-table.php General: Fix a typo introduced in [41219]. 2017-08-03 15:46:44 +00:00
class-wp-ms-users-list-table.php Docs: Reduce confusion in `@since MU` notationss by indicating the WP version (3.0.0) the code was merged into core while retaining the original context. 2017-08-01 20:44:43 +00:00
class-wp-plugin-install-list-table.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-plugins-list-table.php Plugins: Correct and improve docblocks for the various `plugin_action_links` filters on the Plugins screen. 2017-08-04 22:15:45 +00:00
class-wp-post-comments-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-posts-list-table.php General: Fix various instances of incorrect filter docs and incorrect filter and action parameters. 2017-08-03 15:43:43 +00:00
class-wp-press-this.php General: Fix various instances of incorrect filter docs and incorrect filter and action parameters. 2017-08-03 15:43:43 +00:00
class-wp-screen.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-site-icon.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-terms-list-table.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-theme-install-list-table.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-themes-list-table.php General: Fix various instances of incorrect filter docs and incorrect filter and action parameters. 2017-08-03 15:43:43 +00:00
class-wp-upgrader-skin.php Docs: Remove `@access` notations from method DocBlocks in wp-admin/* classes. 2017-07-27 00:40:43 +00:00
class-wp-upgrader-skins.php Load: Re-add `class-wp-upgrader-skins.php`. 2016-12-03 03:40:41 +00:00
class-wp-upgrader.php Docs: Remove some more top-level `@aacess` tags from function DocBlocks. 2017-07-27 08:19:43 +00:00
class-wp-users-list-table.php Users: After [41027], assign `$author_posts_url` outside of the condition to simplify the logic. 2017-07-28 14:21:45 +00:00
comment.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
continents-cities.php I18N: Update list of continents and cities for the timezone selection. 2016-05-24 23:24:27 +00:00
credits.php I18N: Introduce a user-specific language setting. 2016-10-03 07:04:29 +00:00
dashboard.php Docs: Reduce confusion in `@since MU` notationss by indicating the WP version (3.0.0) the code was merged into core while retaining the original context. 2017-08-01 20:44:43 +00:00
deprecated.php Docs: Add a `@global` entry for `$wpdb` in `get_author_user_ids()`, `get_editable_authors()`, `get_editable_user_ids()`, `get_nonauthor_user_ids()`, and `get_others_unpublished_posts()`. 2017-07-20 14:02:44 +00:00
edit-tag-messages.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
export.php Docs: Add missing backtick character in `export_wp()` DocBlock. 2017-06-27 00:58:41 +00:00
file.php Filesystem: Introduce the `pre_move_uploaded_file` filter. 2017-08-16 21:59:43 +00:00
image-edit.php Docs: Standardize and add missing deprecation notations in DocBlocks for the following functions: 2017-06-22 17:48:45 +00:00
image.php Docs: Fix various filter documentation. 2017-08-03 14:34:44 +00:00
import.php I18N: Introduce a user-specific language setting. 2016-10-03 07:04:29 +00:00
list-table.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
media.php Media: Optionally return attachment id from `media_sideload_image()`. 2017-05-09 23:26:42 +00:00
menu.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
meta-boxes.php Introduce `most_used` taxonomy label, for text on 'Most Used' metabox tab. 2017-07-01 14:46:41 +00:00
misc.php Options, Meta APIs: Require a confirmation link in an email to be clicked when an admin attempts to change the site admin email address. 2017-08-14 20:13:43 +00:00
ms-admin-filters.php Options, Meta APIs: Require a confirmation link in an email to be clicked when an admin attempts to change the site admin email address. 2017-08-14 20:13:43 +00:00
ms-deprecated.php Docs: Standardize and add missing deprecation notations in DocBlocks for the following functions: 2017-06-22 17:48:45 +00:00
ms.php Options, Meta APIs: Require a confirmation link in an email to be clicked when an admin attempts to change the site admin email address. 2017-08-14 20:13:43 +00:00
nav-menu.php Accessibility: Improve the Menus post type meta boxes pagination links. 2016-10-27 15:23:31 +00:00
network.php I18N: Replace unnecessary context with a translator comment for `%s Sites` string in `network_step1()`. 2016-08-23 00:17:27 +00:00
noop.php Docs: Add missing file header to `wp-admin/includes/noop.php`, introduced in [34037]. 2017-01-25 23:10:43 +00:00
options.php Accessibility: Avoid a keyboard trap on the permalink custom structure setting. 2017-06-12 14:09:43 +00:00
plugin-install.php Plugins: Don't strip line breaks and blockquote elements in the plugin information modal. 2017-05-11 19:16:42 +00:00
plugin.php Docs: Provide best practice guidance for achieving parity between `$menu_slug` values supplied when adding menu and submenu pages, and later trying to compare those initial values against sanitized screen IDs derived from `$menu_slug`. 2017-06-30 04:18:43 +00:00
post.php Post Formats: In `bulk_edit_posts()`, set post format before the post is updated, for consistency with `edit_post()`. 2017-07-30 14:41:42 +00:00
revision.php I18N: Correct various instances of incorrect usage of `esc_attr_e()`. 2016-08-28 18:06:30 +00:00
schema.php Multisite: Replace unnecessary `is_super_admin()` check when setting up the initial network. 2017-04-10 22:00:43 +00:00
screen.php Screen API: After [37972], ensure that `$box['args']` is an array before trying to access `__widget_basename`. 2016-07-07 16:39:29 +00:00
taxonomy.php Store only term IDs in object term relationships caches. 2016-05-26 04:50:27 +00:00
template.php General: Fix more instances of inconsistent parameters passed to various filters, plus fix some filter docs. 2017-08-03 16:13:44 +00:00
theme-install.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
theme.php Customize: Prevent links to `customize.php` from being generated which have query vars from `wp_removable_query_args()` present. 2017-03-22 23:04:42 +00:00
translation-install.php Upgrade/Install: After [40394], rename `wp_disallow_file_mods()` to `wp_is_file_mod_allowed()`. 2017-05-11 19:24:41 +00:00
update-core.php Upgrade: Add `wp-includes/js/tinymce/plugins/wpembed` to `$_old_files`. 2017-06-07 21:32:44 +00:00
update.php Cron API: Add a new `wp_doing_cron()` helper function. 2017-05-06 14:30:40 +00:00
upgrade.php Multisite: Revert indentation of the sample page content added in [40296]. 2017-06-01 09:16:40 +00:00
user.php Users: Use more appropriate HTTP status codes for errors relating to user management. 2017-06-25 18:46:44 +00:00
widgets.php Accessibility: Make some Widgets buttons real buttons. 2017-04-19 21:14:44 +00:00