[wp-trac] [WordPress Trac] #60317: Cannot select an author from dropdown due to truncated users list

WordPress Trac noreply at wordpress.org
Mon Jan 22 14:19:54 UTC 2024


#60317: Cannot select an author from dropdown due to truncated users list
--------------------------+-----------------------------
 Reporter:  yanksyoon     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  major         |   Keywords:
  Focuses:  ui, rest-api  |
--------------------------+-----------------------------
 Hello team!

 Currently, when we have over 50 users with same email signatures, e.g.
 over 50 users with email `@zemail.com` (with usernames starting with
 characters preceding z), and there is a user with username `zemail`, the
 user `zemail` can never appear in the dropdown since the request made by
 the dropdown
 `http://<wordpress-
 link>/index.php?rest_route=%2Fwp%2Fv2%2Fusers&context=view&who=authors&per_page=50&_fields=id%2Cname&search=zemail&_locale=user`
 is sorted alphabetically.

 This makes it impossible for the user to be selected as an author of a new
 post.
 Would the search be better limited to usernames?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60317>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list