WordPress/wp-admin/includes
Boone Gorges 714be37ea5 Show user_login in Dashboard user dropdowns.
User dropdowns in wp-admin have traditionally shown the users' display names.
However, this causes ambiguity when users share display names. To correct this,
we now show the unique user_login in parentheses after the display name.

The new `display_name_with_login` value for the `show` parameter of
`wp_dropdown_users()` enables this functionality. The default value of `show`
has not been changed, for backward compatibility, but all instances of
`wp_dropdown_users()` in core wp-admin have been switched.

This changeset also reduces some duplicated logic when assembling a user list
when `include_selected` is true.

Props krogsgard, boonebgorges.
Fixes #31251.
Built from https://develop.svn.wordpress.org/trunk@35790


git-svn-id: http://core.svn.wordpress.org/trunk@35754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-06 20:57:26 +00:00
..
admin-filters.php Docs: wp-admin/includes/admin-filters.php is part of the Administration subpackage, update the summary. 2015-10-14 22:35:24 +00:00
admin.php Avoid potential fatal errors after [35718]. 2015-11-25 22:19:26 +00:00
ajax-actions.php Show user_login in Dashboard user dropdowns. 2015-12-06 20:57:26 +00:00
bookmark.php Docs: Fix third-person singular verbs for summaries in wp-admin/includes/bookmarks.php. 2015-10-14 23:25:25 +00:00
class-ftp-pure.php Updates: FTP/PemFTP Library: Remove the usage of deprecated regular expression functions (ereg replaced by PCRE). 2015-09-18 08:20:27 +00:00
class-ftp-sockets.php Updates: FTP/PemFTP Library: Remove the usage of deprecated regular expression functions (ereg replaced by PCRE). 2015-09-18 08:20:27 +00:00
class-ftp.php Updates: FTP: Add a missing PCRE modifer in [34281]. 2015-09-18 08:23:25 +00:00
class-pclzip.php Deprecate php4 style constructors 2015-06-28 15:27:24 +00:00
class-walker-category-checklist.php Docs: Clarify the file header summary for wp-admin/includes/class-walker-category-checklist.php, introduced in [34241]. 2015-09-22 14:33:48 +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 Nav Menus: show custom post type Archive item at the top of the View All tab for the post type on the legacy Nav Menu screen. 2015-10-24 17:46:25 +00:00
class-wp-comments-list-table.php In a similar vein to [34133], escape the email address and IP address of comment authors to increase defence in depth. 2015-11-29 02:43:24 +00:00
class-wp-filesystem-base.php I18N: Add translator comments for strings in wp-admin/includes/class-wp-filesystem-base.php. 2015-11-18 17:21:26 +00:00
class-wp-filesystem-direct.php Add @access docs to class-wp-filesystem-* files. 2015-09-10 01:21:24 +00:00
class-wp-filesystem-ftpext.php Upgrader: FTP: Cleanup temporary files during FTP download failures. 2015-12-06 17:07:25 +00:00
class-wp-filesystem-ftpsockets.php I18N: Add translator comments for strings in wp-admin/includes/class-wp-filesystem-ftpsockets.php. 2015-11-18 17:23:29 +00:00
class-wp-filesystem-ssh2.php I18N: Add translator comments for strings in wp-admin/includes/class-wp-filesystem-ftpext.php. 2015-11-18 17:22:27 +00:00
class-wp-importer.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:44:25 +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: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-list-table.php List Tables: Fix PHP error notice when $columns is null 2015-11-18 23:01:26 +00:00
class-wp-media-list-table.php Media: show Trash filter for Media list table when MEDIA_TRASH is true. 2015-12-01 20:48:25 +00:00
class-wp-ms-sites-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-ms-themes-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-ms-users-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-plugin-install-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-plugins-list-table.php Replace a second instance of <code> in translatable string left in [35440]. 2015-10-30 01:56:25 +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 Show user_login in Dashboard user dropdowns. 2015-12-06 20:57:26 +00:00
class-wp-press-this.php Buttons: Standardize on .button-link for link-like buttons. 2015-11-13 15:47:27 +00:00
class-wp-screen.php View mode is only a screen option for posts lists. 2015-10-30 21:03:28 +00:00
class-wp-site-icon.php Site Icon: Get site icon ID only when needed. 2015-10-20 18:23:44 +00:00
class-wp-terms-list-table.php Accessibility: improvements for the taxonomies Quick Edit form. 2015-11-11 00:24:28 +00:00
class-wp-theme-install-list-table.php Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
class-wp-themes-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-upgrader-skins.php Bump H4 headings to H2 in the Updates screen for better accessibility. 2015-10-16 15:45:28 +00:00
class-wp-upgrader.php Upgrader: Pass the $args['hook_extra'] context to the upgrader_source_selection filter. 2015-11-16 02:47:25 +00:00
class-wp-users-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
comment.php Docs: Add a version to the file header for wp-admin/includes/comment.php. 2015-10-18 14:34:25 +00:00
continents-cities.php Docs: Add a proper file header to wp-admin/includes/continents-cities.php. 2015-10-22 19:43:25 +00:00
credits.php Move ad hoc functions from wp-admin/credits.php to wp-admin/includes/credits.php, which is only included by the former. 2015-09-11 04:55:26 +00:00
dashboard.php Don't use <a> in translatable strings in `wp-admin/includes/dashboard.php'. 2015-10-30 01:33:25 +00:00
deprecated.php Docs: Add missing method summaries for the deprecated WP_User_Search class, including prepare_query(), query(), prepare_vars_for_template_usage(), do_paging(), and get_results(). 2015-10-05 02:35:25 +00:00
edit-tag-messages.php Don't redirect to the Term list table after submitting the form on the Edit Term page. 2015-09-15 15:59:42 +00:00
export.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
file.php Do not pass FALSE as second parameter in variable class_exists() checks 2015-11-30 04:15:27 +00:00
image-edit.php Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
image.php Media: Avoid a PHP warning in wp_generate_attachment_metadata() if $metadata is not an array. 2015-11-06 09:25:26 +00:00
import.php callback is not a valid type in PHP, PSR-5, or phpDocumentor. callable should be used instead. 2015-09-25 23:58:25 +00:00
list-table.php List Tables: in _WP_List_Table_Compat::get_column_info(), also return $primary, which is expected since [33016]. 2015-10-07 03:12:24 +00:00
media.php Media: in media_send_to_editor(), use wp_json_encode() instead of addslashes(). 2015-11-18 19:40:27 +00:00
menu.php Admin Menu: after [34861], prevent adjacent separators. 2015-10-28 18:06:24 +00:00
meta-boxes.php Show user_login in Dashboard user dropdowns. 2015-12-06 20:57:26 +00:00
misc.php Docs: Use 3-digit, x.x.x-style semantic versioning in the DocBlocks for post_form_autocomplete_off() and WP_Filesystem_SSH2::sftp_path(). 2015-10-31 13:16:24 +00:00
ms-admin-filters.php Docs: Add a @subpackage tag to the file header for wp-admin/includes/ms-admin-filters.php. 2015-10-26 18:06:26 +00:00
ms-deprecated.php Docs: Standardize the file header for wp-admin/includes/ms-deprecated.php. 2015-10-27 20:08:27 +00:00
ms.php Filesystem: Following the introduction of the KB|MB|GB|TB_IN_BYTES constants in [35286], use them in various places in core. 2015-10-21 14:03:25 +00:00
nav-menu.php Do not pass FALSE as second parameter in variable class_exists() checks 2015-11-30 04:15:27 +00:00
network.php Remove <code> tags from translatable strings in wp-admin/includes/network.php. 2015-11-06 00:59:25 +00:00
noop.php Create a new file, wp-admin/includes/noop.php, which loads all of the noop functions for load-script|styles.php and is only loaded by those files. DRYs in the process. 2015-09-11 05:04:23 +00:00
options.php Revert [35336] and [35337]. 2015-11-18 20:30:25 +00:00
plugin-install.php Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
plugin.php Docs: Improve DocBlock formatting for add_menu_page() and add_submenu_page() wrappers. 2015-11-23 17:56:26 +00:00
post.php Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
revision.php Docs: Add a version to the file header for wp-admin/includes/revision.php. 2015-10-24 18:29:25 +00:00
schema.php Upgrade: New themes are not automatically installed on upgrade. This can still be explicitly asked for by defining CORE_UPGRADE_SKIP_NEW_BUNDLED as false. 2015-11-25 21:45:25 +00:00
screen.php Move WP_Screen to its own file. 2015-09-15 04:08:24 +00:00
taxonomy.php Docs: There are quite alot of typos in core inline comments. 2015-09-30 04:13:48 +00:00
template.php Avoid potential fatal errors after [35718]. 2015-11-25 22:19:26 +00:00
theme-install.php Add doc blocks to functions that are missing them. 2015-05-31 03:18:25 +00:00
theme.php Docs: Replace a reference to WP.org with WordPress.org. 2015-11-22 22:38:26 +00:00
translation-install.php Use wp_installing() instead of WP_INSTALLING constant. 2015-10-05 15:06:28 +00:00
update-core.php Upgrade: New themes are not automatically installed on upgrade. This can still be explicitly asked for by defining CORE_UPGRADE_SKIP_NEW_BUNDLED as false. 2015-11-25 21:45:25 +00:00
update.php Revert [34778], continue using _site_option() for the current network. 2015-10-07 17:11:25 +00:00
upgrade.php On 4.4 upgrade, remove the unused 'add_users' cap from all roles. 2015-11-19 03:53:28 +00:00
user.php Use 'invalid_username' error code when tripping 'illegal_user_logins'. 2015-12-04 23:25:26 +00:00
widgets.php Accessibility: bump headings one level up on the Appearance > Widgets screen for a better headings hierarchy. 2015-10-10 16:34:25 +00:00