[wp-trac] [WordPress Trac] #51941: Unique names for Application Password
WordPress Trac
noreply at wordpress.org
Fri Jan 29 16:02:43 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 TimothyBlynJacobs):
@paaljoachim That is expected behavior.
Regarding the error message, JSON Schema doesn't let us set custom error
messages at the moment. That's something I'm looking to change. But the
more specific error message, `%1$s does not match pattern %2$s.`, wouldn't
be any clearer.
While ideally we would be able to provide a cleaner error message, IMO it
is sufficiently obvious to the user that an empty application name is
invalid.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51941#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list