[wp-trac] [WordPress Trac] #58103: Show user roles when deleting users
WordPress Trac
noreply at wordpress.org
Fri Jun 30 14:27:56 UTC 2023
#58103: Show user roles when deleting users
-------------------------------------------------+-------------------------
Reporter: Presskopp | Owner: audrasjb
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 6.4
Component: Users | Version:
Severity: normal | Resolution:
Keywords: has-patch changes-requested dev- | Focuses:
feedback has-screenshots |
-------------------------------------------------+-------------------------
Comment (by knutsp):
Replying to [comment:25 audrasjb]:
> Thanks!
> However, I have a small concern about $user->roles[0] because on many
websites, users can have several roles.
Ordering them alpabetically will not work well for all languages, so I
suggest keep it simple. But if not simple, indicate it. That means show
first one, then suffix it with '(+n)' when necessary where n =
count(roles).
And don't forget no role situation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58103#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list