[wp-trac] [WordPress Trac] #35590: Add filters to allow creating REST API middleware plugins

WordPress Trac noreply at wordpress.org
Thu Apr 7 04:26:20 UTC 2016


#35590: Add filters to allow creating REST API middleware plugins
-------------------------+-----------------------------
 Reporter:  jnylen0      |       Owner:  rmccue
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  Future Release
Component:  REST API     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------
Changes (by jnylen0):

 * keywords:   => has-patch


Comment:

 Updated: simplified code and improved documentation.

 Is it appropriate / desirable to have tests for the new filters?  This
 patch is now quite simple, and the surrounding filters (
 `rest_pre_dispatch`, `rest_dispatch_request`, `rest_post_dispatch` for
 example ) do not have tests.

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


More information about the wp-trac mailing list