[wp-trac] [WordPress Trac] #35329: Permit rest_do_request() to be used in non-REST API contexts

WordPress Trac noreply at wordpress.org
Sun Jan 17 19:23:52 UTC 2016


#35329: Permit rest_do_request() to be used in non-REST API contexts
----------------------------------------+------------------
 Reporter:  danielbachhuber             |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  4.5
Component:  REST API                    |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+------------------

Comment (by danielbachhuber):

 I think we should add the logic of `rest_internal_request()` to
 `rest_do_request()`, given `rest_do_request()` already exists in core.

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


More information about the wp-trac mailing list