[wp-trac] [WordPress Trac] #51941: Unique names for Application Password

WordPress Trac noreply at wordpress.org
Fri Jan 29 15:59:59 UTC 2021


#51941: Unique names for Application Password
-------------------------------------------------+-------------------------
 Reporter:  Boniu91                              |       Owner:  boniu91
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.7
Component:  Application Passwords                |     Version:  5.6
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:
  tests                                          |  administration
-------------------------------------------------+-------------------------

Comment (by hellofromTonya):

 Thanks @Boniu91 for retesting. Yes, a space (a series of spaces) is an
 empty string, which is now an invalid name.

 And you're right, the error is generic:

 >Invalid parameter(s): name

 The error comes from the schema.

 What do you think would make the error message more understandable for
 users?

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


More information about the wp-trac mailing list