Wordpress/wp-admin
Andrew Nacin 6a9c6e8543 Less insane multiple role handling in the users list table.
If the user has more than one role, opt to show the first role that is
'editable', if present. Otherwise, fall back to the remaining roles.

In the future, we should show a comma-separated list of all roles,
editable or otherwise, and this list should be filterable, either by user,
or by the roles which can appear. Probably both.

In multisite, only hide users that have no capabilities (in case they
possess a leftover, empty wp_xx_capabilities key from the MU days),
not users that have no role, as they may have a cap but no role.

see #22361. fixes #17860.



git-svn-id: https://develop.svn.wordpress.org/trunk@22686 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-19 19:16:31 +00:00
..
css Compress scripts/styles: 3.5-beta3-22683. 2012-11-19 10:58:31 +00:00
images HiDPI rating stars. props chexee. see #21019. 2012-11-09 01:34:48 +00:00
includes Less insane multiple role handling in the users list table. 2012-11-19 19:16:31 +00:00
js Compress scripts/styles: 3.5-beta3-22678. 2012-11-19 08:58:31 +00:00
maint Use retina logo in install, upgrade, setup-config, repair, and confirmation screens. 2012-11-07 17:34:22 +00:00
network Add manual new lines to a string, as double quotes with \n is not optimal due to sprintf-parsing reasons. props SergeyBiryukov, fixes #22486. see #22260. 2012-11-19 06:11:42 +00:00
user Remove index-extra.php. Move dashboard widget XHR callbacks to ajax-actions.php. fixes #20242. 2012-03-15 13:20:00 +00:00
about.php New section on Twitter Embeds on the about page. props georgestephanis, chexee, azaozz, SergeyBiryukov, jane. fixes #20796. 2012-06-02 01:16:35 +00:00
admin-ajax.php Media: Add backwards compatibility for attachment_fields_to_edit and attachment_fields_to_save. see #22186. 2012-11-11 01:26:42 +00:00
admin-footer.php Rename div#footer to div#wpfooter in the admin. Namespace one of our major elements and avoid clashing with widgets with the id of 'footer'. props andrewryno, koopersmith. see #14466. 2012-09-16 23:03:35 +00:00
admin-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
admin-header.php Accessibility shortcuts: new looks and fix for the WebKit focus bug, props lessbloat, fixes #21471 2012-10-16 21:26:59 +00:00
admin-post.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
admin.php Send nocache_headers() in the admin earlier, on the DB upgrade page. Prevents a potential redirect loop reproduced in Chrome from heavy caching of headers. props mdawaffe. see #21745. 2012-09-19 01:51:40 +00:00
async-upload.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
comment.php Allow comment.php?action=editcomment to be accessible for a comment that is spam. props josephscott, fixes #19977, see #18340. 2012-02-07 19:13:30 +00:00
credits.php Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987. 2012-09-25 05:26:19 +00:00
custom-background.php Don't allow non-image uploads for custom headers and backgrounds. props kovshenin. fixes #22149. 2012-11-10 05:36:37 +00:00
custom-header.php Don't allow non-image uploads for custom headers and backgrounds. props kovshenin. fixes #22149. 2012-11-10 05:36:37 +00:00
customize.php Pinking shears 2012-11-17 15:11:29 +00:00
edit-comments.php Improve the contextual help for the comment bubble in the 'In Response To' column. Props lessbloat. fixes #19788 2012-10-23 13:37:18 +00:00
edit-form-advanced.php Media: Ensure media and its dependencies are included when a post type supports the editor or featured images. see #21390. 2012-11-09 05:10:07 +00:00
edit-form-comment.php Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar). 2012-07-24 00:15:15 +00:00
edit-link-form.php Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar). 2012-07-24 00:15:15 +00:00
edit-tag-form.php Enter the semicolon. Props F J Kaiser, SergeyBiryukov. fixes #21393 2012-10-18 13:06:39 +00:00
edit-tags.php Use the regular post type UI for editing single media items (attachments). 2012-09-21 22:52:54 +00:00
edit.php Use the create_posts capability in more places. 2012-10-24 22:15:43 +00:00
export.php Rename filter on $args sent to export_wp() for clarity. See #19863. 2012-11-06 14:51:45 +00:00
freedoms.php Copy 3.4 about.php header text to credits and freedoms. props pavelevap. fixes #20794. 2012-06-07 15:34:21 +00:00
import.php Pull the list of popular importers from WordPress.org. 2012-11-17 07:20:04 +00:00
index.php Use the create_posts capability in more places. 2012-10-24 22:15:43 +00:00
install-helper.php Deprecate ancient "debugging" tools. 2012-02-17 00:02:42 +00:00
install.php Pinking shears 2012-11-17 15:11:29 +00:00
link-add.php Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014 2012-04-11 02:20:51 +00:00
link-manager.php Pinking shears 2011-12-01 04:51:35 +00:00
link-parse-opml.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
link.php Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014 2012-04-11 02:20:51 +00:00
load-scripts.php Add comments to time intervals we cannot express with the constants. Fix a comment. props SergeyBiryukov. fixes #20987. 2012-11-10 18:13:09 +00:00
load-styles.php Fix minified RTL style loading via load-styles.php. props ocean90. fixes #22482. 2012-11-16 22:18:33 +00:00
media-new.php Don't hide links to the upload form and show an error for mobile devices that cannot upload, see #20410 2012-04-12 00:16:37 +00:00
media-upload.php Re-enable a .wp-upload-form submit button whenever any file input in that form has a file selected, to minimize the potential for issues. props kovshenin. fixes #20855. see [22459]. 2012-11-19 06:07:04 +00:00
media.php Restrict the media editor to posts with the attachment post type. Props helenyhou. fixes #20625 2012-05-09 16:16:03 +00:00
menu-header.php Pinking shears 2012-11-17 15:11:29 +00:00
menu.php Introduce create_posts meta capability. Props scribu, nacin, casben79. see #16714 2012-09-27 15:33:19 +00:00
moderation.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-admin.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-delete-site.php Reduce use of global. Use get_blog_details() instead. fixes #22090 2012-10-04 12:40:09 +00:00
ms-edit.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-options.php
ms-sites.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-themes.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-upgrade-network.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-users.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
my-sites.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
nav-menus.php Replace multiple wp_enqueue_script() calls in nav-menus.php with dependencies. props SergeyBiryukov. fixes #21777. 2012-09-03 15:35:22 +00:00
network.php Make Multisite work when WordPress is installed in a subdirectory. You can now have WordPress Multisite as an SVN external or a Git submodule! props johnjamesjacoby, evansolomon, duck_, jakemgold, nacin, markjaquith. see #19796 2012-09-27 06:07:21 +00:00
options-discussion.php Make 'Show Avatars' a checkbox rather than a yes/no radio button. props tmoorewp, fixes #20889. 2012-09-26 06:44:26 +00:00
options-general.php Don't show the same time or date format twice on the General Settings page. This can occur if a translated format is the same as an existing default format. fixes #21060. 2012-10-25 20:15:47 +00:00
options-head.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
options-media.php Always attempt to embed URLs in content, removing the Auto-embeds (autoembed_urls) option. 2012-09-25 07:10:09 +00:00
options-permalink.php Remove unnecessary .tog class from checkboxes on the Permalink Settings screen. Designed originally for the admin color scheme choice (see [7259]), it causes vertical misalignment and lack of spacing between the checkbox and corresponding label. see #16379. 2012-10-05 14:36:46 +00:00
options-privacy.php Fold Privacy Settings into Reading Settings, moving blog_public (search engine/robots) to options-reading and removing options-privacy. 2012-09-13 17:28:57 +00:00
options-reading.php Revert page on front changes. Reverts [22127] [22129] [22135] [22136]. see #16379. 2012-11-19 01:28:32 +00:00
options-writing.php Add back Update Services help. props DrewAPicture, fixes #22365. 2012-11-05 21:38:48 +00:00
options.php Revert page on front changes. Reverts [22127] [22129] [22135] [22136]. see #16379. 2012-11-19 01:28:32 +00:00
plugin-editor.php Move the description for tabbing out of the plugin and theme editors textareas to the Help tab, fixes #21347 2012-07-27 16:49:48 +00:00
plugin-install.php Pinking shears 2012-11-17 15:11:29 +00:00
plugins.php Only allow operations on network plugins through the network admin. see #21187, for trunk. 2012-09-04 20:51:33 +00:00
post-new.php Use the create_posts capability in more places. 2012-10-24 22:15:43 +00:00
post.php Use the regular post type UI for editing single media items (attachments). 2012-09-21 22:52:54 +00:00
press-this.php Extend Press This by a few pixels to allow longer strings. props SergeyBiryukov. fixes #20975. 2012-11-07 19:27:19 +00:00
profile.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
revision.php Mid-page headers should be h3, not h2. 2010-10-22 00:27:12 +00:00
setup-config.php Use retina logo in install, upgrade, setup-config, repair, and confirmation screens. 2012-11-07 17:34:22 +00:00
theme-editor.php Always URL-encode a stylesheet directory value before using it in a URL. These situations are saved by wp_nonce_url(), but we should not depend on that. see #21749, for trunk only. 2012-09-04 22:35:12 +00:00
theme-install.php Fix help text on the Install Themes screen, props SergeyBiryukov, fixes #20925 2012-08-22 02:28:30 +00:00
themes.php Remove "This theme supports widgets..." from the theme activation notice. props ryanimel. fixes #19787. 2012-09-24 16:31:41 +00:00
tools.php Update contextual help for Tools screen. Props SergeyBiryukov, ajacommerce, DrewAPicture. fixes #19523 2012-05-05 19:09:08 +00:00
update-core.php Updates and fixes to the new button styles. By default, buttons are now the same size as they were in 3.4. Then there is a smaller button (designed for minor elements) and a larger button (designed for things like Publish and Save Changes). Better focus styles. props lessbloat. see #21598. 2012-09-21 19:34:23 +00:00
update.php Merge some strings. props pavelevap. fixes #22306. 2012-11-07 19:37:54 +00:00
upgrade-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
upgrade.php Larger buttons for the DB upgrade screens. see #21598. 2012-11-07 18:38:17 +00:00
upload.php Clean attachment cache after a manual update, not before. props mdawaffe. fixes #20786. 2012-08-24 15:32:23 +00:00
user-edit.php Remove unnecessary label. Props waclawjacek. fixes #17978 2012-09-20 13:59:39 +00:00
user-new.php Kill use of colons in class names, props SergeyBiryukov, fixes #21152 2012-11-06 01:01:52 +00:00
users.php i18n: Fix the usage of sprintf replacements in the user management admin page. See #22260. 2012-10-23 11:32:41 +00:00
widgets.php New HiDPI spinner. Uses clean <span class="spinner"></span> markup. 2012-09-26 19:57:44 +00:00