[wp-trac] [WordPress Trac] #50493: more detailed notice for register_rest_route
WordPress Trac
noreply at wordpress.org
Sun Aug 25 22:49:23 UTC 2024
#50493: more detailed notice for register_rest_route
-------------------------------------+--------------------------------
Reporter: Lwangaman | Owner: TimothyBlynJacobs
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Future Release
Component: REST API | Version: 5.4.2
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: rest-api
-------------------------------------+--------------------------------
Changes (by TimothyBlynJacobs):
* owner: (none) => TimothyBlynJacobs
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"58933" 58933]:
{{{
#!CommitTicketReference repository="" revision="58933"
REST API: Improve error messages when registering an invalid route.
The error messages now include the REST API namespace and route to help
identify the offending code.
Props lwangaman, timothyblynjacobs.
Fixes #50493.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50493#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list