[wp-trac] [WordPress Trac] #45265: REST API: register_rest_route should warn when used improperly.

WordPress Trac noreply at wordpress.org
Fri Nov 2 14:52:38 UTC 2018


#45265: REST API: register_rest_route should warn when used improperly.
--------------------------+------------------------------
 Reporter:  kraftbj       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  rest-api
--------------------------+------------------------------
Changes (by kraftbj):

 * Attachment "45265.diff" added.

 Throw a _doing_it_wrong. Assuming 5.1.0.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45265>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list