[wp-trac] [WordPress Trac] #45265: REST API: register_rest_route should warn when used improperly.
WordPress Trac
noreply at wordpress.org
Sat Jan 26 12:28:20 UTC 2019
#45265: REST API: register_rest_route should warn when used improperly.
------------------------------------+-----------------------
Reporter: kraftbj | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.1
Component: REST API | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-dev-note | Focuses: rest-api
------------------------------------+-----------------------
Comment (by ocean90):
In [changeset:"44698" 44698]:
{{{
#!CommitTicketReference repository="" revision="44698"
REST API: Prevent translating the hook name in a `_doing_it_wrong()`
message by using a placeholder.
See #45265.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45265#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list