[wp-trac] [WordPress Trac] #51941: Unique names for Application Password
WordPress Trac
noreply at wordpress.org
Fri Jan 29 16:39: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 TimothyBlynJacobs):
Well that's the thing, we can't specify a custom error message to be used
when a particular schema keyword, in this case `pattern`, fails to
validate. This is how all REST API endpoints operate, so I don't think it
is worth doing manual introspection just for this use case. When we add
support for custom error messages we would certainly apply it here as
well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51941#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list