[wp-trac] [WordPress Trac] #31251: Show username in wp_dropdown_users when deleting users, not display name

WordPress Trac noreply at wordpress.org
Wed Feb 18 22:52:20 UTC 2015


#31251: Show username in wp_dropdown_users when deleting users, not display name
-----------------------------------+-----------------------------
 Reporter:  krogsgard              |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  4.2
Component:  Users                  |     Version:  4.1
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  administration
-----------------------------------+-----------------------------

Comment (by krogsgard):

 I need name feedback on a revised patch. I'm changing it to not change the
 default `show` value for `wp_dropdown_users()`, but instead to add a param
 that is "display_name (username)".

 I don't know what to call it. It's not really "all" but it is more... Any
 feedback of what other parts of core do for something like this?

 New patch will also include the places in the admin that use the function
 and I'll update unit tests.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31251#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list