WordPress/wp-admin/includes
Dominik Schilling 61ba57abb7 Users: Use `promote_users` for role updates in `edit_user()`.
`edit_user()` can also update user roles but was still using the `edit_users` capability instead of the newer `promote_users` capability introduced in [14176].
This makes the role handling consistent with the bulk dropdown menu for role changes.

Props flixos90, johnjamesjacoby, ocean90.
Fixes #42564.
Built from https://develop.svn.wordpress.org/trunk@42855


git-svn-id: http://core.svn.wordpress.org/trunk@42685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-19 20:29:34 +00:00
..
admin-filters.php Code is Poetry. 2017-11-30 23:11:00 +00:00
admin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ajax-actions.php Docs: Use consistent description for `$wp_filesystem` global. 2018-03-04 21:58:30 +00:00
bookmark.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
class-automatic-upgrader-skin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-bulk-plugin-upgrader-skin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-bulk-theme-upgrader-skin.php Docs: Update the hook docs for `update_bulk_theme_complete_actions`. 2018-02-09 16:22:45 +00:00
class-bulk-upgrader-skin.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
class-core-upgrader.php Upgrade/Install: Fix the format of the `upgrader_process_complete` actions after [42343]. 2018-03-05 21:44:30 +00:00
class-file-upload-upgrader.php Code is Poetry. 2017-11-30 23:11:00 +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 Code is Poetry. 2017-11-30 23:11:00 +00:00
class-language-pack-upgrader.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +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: Standardise and correct documentation relating to parameters which accept plugin names. 2018-03-05 21:50:31 +00:00
class-plugin-upgrader-skin.php Docs: Standardise and correct documentation relating to parameters which accept plugin names. 2018-03-05 21:50:31 +00:00
class-plugin-upgrader.php Docs: Standardise and correct documentation relating to parameters which accept plugin names. 2018-03-05 21:50:31 +00:00
class-theme-installer-skin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-theme-upgrader-skin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-theme-upgrader.php Docs: Use consistent description for `$wp_filesystem` global. 2018-03-04 21:58:30 +00:00
class-walker-category-checklist.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-nav-menu-checklist.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-nav-menu-edit.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-ajax-upgrader-skin.php General: Introduce `WP_Error::has_errors()` method and use it where appropriate. 2018-02-27 02:31:31 +00:00
class-wp-automatic-updater.php Docs: Add missing brace in `auto_update_{$type}` filter DocBlock. 2018-03-11 10:30:33 +00:00
class-wp-comments-list-table.php Accessibility: Change the comments "Quick Edit" and "Reply" links to buttons. 2018-02-28 22:36:34 +00:00
class-wp-community-events.php Docs: Fix typo in a comment in `WP_Community_Events::trim_events()`. 2018-03-11 10:35:31 +00:00
class-wp-filesystem-base.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-direct.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ftpext.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ftpsockets.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ssh2.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-importer.php Import: Avoid counting an uncountable type when reading arguments passed to a script. 2018-03-02 17:17:31 +00:00
class-wp-internal-pointers.php Docs: Remove `@static` notations from method DocBlocks in `wp-admin/*` classes. 2018-02-25 20:06:30 +00:00
class-wp-links-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-list-table-compat.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-media-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-ms-sites-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-ms-themes-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-ms-users-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-plugin-install-list-table.php Plugins: Add support for plugins having an `active_installs` value larger than 1 million. 2018-03-12 01:57:31 +00:00
class-wp-plugins-list-table.php Docs: Standardise and correct documentation relating to parameters which accept plugin names. 2018-03-05 21:50:31 +00:00
class-wp-post-comments-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-posts-list-table.php Accessibility: Change the posts "Quick Edit" link to a button. 2018-02-21 22:31:32 +00:00
class-wp-screen.php Accessibility: Make the Widgets screen "Enable accessibility mode" link more discoverable. 2018-03-06 17:21:33 +00:00
class-wp-site-icon.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-terms-list-table.php Accessibility: Change the terms "Quick Edit" link to a button. 2018-02-21 23:04:31 +00:00
class-wp-theme-install-list-table.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
class-wp-themes-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-upgrader-skin.php General: Introduce `WP_Error::has_errors()` method and use it where appropriate. 2018-02-27 02:31:31 +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: Standardise and correct documentation relating to parameters which accept plugin names. 2018-03-05 21:50:31 +00:00
class-wp-users-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
comment.php Code is Poetry. 2017-11-30 23:11:00 +00:00
continents-cities.php Code is Poetry. 2017-11-30 23:11:00 +00:00
credits.php Code is Poetry. 2017-11-30 23:11:00 +00:00
dashboard.php General: Introduce dashboard widget to inform administrators about outdated PHP versions. 2018-03-12 16:43:31 +00:00
deprecated.php Taxonomy: restore TagSearch unit tests and correct deprecated version string. 2018-02-25 16:28:30 +00:00
edit-tag-messages.php Code is Poetry. 2017-11-30 23:11:00 +00:00
export.php Code is Poetry. 2017-11-30 23:11:00 +00:00
file.php Docs: Standardise and correct documentation relating to parameters which accept plugin names. 2018-03-05 21:50:31 +00:00
image-edit.php Docs: Add missing `@since` entries for functions in `wp-admin/image-edit.php`. 2018-02-26 18:38:31 +00:00
image.php Media: Correctly allow changing PDF thumbnail crop value. 2018-03-07 01:19:31 +00:00
import.php Code is Poetry. 2017-11-30 23:11:00 +00:00
list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
media.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
menu.php Code is Poetry. 2017-11-30 23:11:00 +00:00
meta-boxes.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
misc.php Security: Loosen the admin referrer policy header value to allow the referring host to be sent from the admin area in all cases. 2018-03-12 10:57:35 +00:00
ms-admin-filters.php Code is Poetry. 2017-11-30 23:11:00 +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 Multisite: Introduce metadata for sites. 2018-03-16 02:15:31 +00:00
nav-menu.php Docs: First pass at switching some array parameter documentation to typed notation. 2018-02-09 17:26:31 +00:00
network.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
noop.php Code is Poetry. 2017-11-30 23:11:00 +00:00
options.php Code is Poetry. 2017-11-30 23:11:00 +00:00
plugin-install.php Plugins: Add support for plugins having an `active_installs` value larger than 1 million. 2018-03-12 01:57:31 +00:00
plugin.php Pinking shears. 2018-03-18 14:23:33 +00:00
post.php Code is Poetry. 2017-11-30 23:11:00 +00:00
revision.php Code is Poetry. 2017-11-30 23:11:00 +00:00
schema.php Multisite: Introduce metadata for sites. 2018-03-16 02:15:31 +00:00
screen.php Code is Poetry. 2017-11-30 23:11:00 +00:00
taxonomy.php Code is Poetry. 2017-11-30 23:11:00 +00:00
template.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
theme-install.php Code is Poetry. 2017-11-30 23:11:00 +00:00
theme.php Docs: Expand `delete_theme()` return value, fix typo in `delete_plugins()` return value. 2018-03-04 22:07:29 +00:00
translation-install.php Code is Poetry. 2017-11-30 23:11:00 +00:00
update-core.php Docs: Use consistent description for `$wp_filesystem` global. 2018-03-04 21:58:30 +00:00
update.php Code is Poetry. 2017-11-30 23:11:00 +00:00
upgrade.php Multisite: Introduce metadata for sites. 2018-03-16 02:15:31 +00:00
user.php Users: Use `promote_users` for role updates in `edit_user()`. 2018-03-19 20:29:34 +00:00
widgets.php Accessibility: Widgets: Make the "Available Widgets" section operable with a keyboard. 2018-03-07 22:27:31 +00:00