[wp-trac] [WordPress Trac] #38339: Add unregister_rest_route helper

WordPress Trac noreply at wordpress.org
Sat Oct 22 13:06:32 UTC 2016


#38339: Add unregister_rest_route helper
-------------------------+-----------------------
 Reporter:  rmccue       |       Owner:  rmccue
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  4.7
Component:  REST API     |     Version:  4.4
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+-----------------------

Comment (by pento):

 I agree with @flixos90 and @jorbin on this - the core endpoints absolutely
 should not be able to be unregistered.

 I'm a little more ambivalent about custom endpoints, but I'd like to know
 a use case that existing functionality doesn't already cover.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38339#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list