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

WordPress Trac noreply at wordpress.org
Mon Feb 23 18:15:11 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 SergeyBiryukov):

 Replying to [comment:15 boonebgorges]:
 > Perhaps we need a parameterized string that gets run through `_x()`:
 `$format = _x( '%1$s (%2$s)', 'user dropdown display name with user login
 format' );`?

 We do something like that in [source:tags/4.1/src/wp-admin/includes/ajax-
 actions.php#L235 wp_ajax_autocomplete_user()], see [19897].

 @ocean90, is there a way to see how many locales actually translate that
 string to something else?

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


More information about the wp-trac mailing list