[wp-trac] [WordPress Trac] #34707: Separate out the namespace from the path in rest_url

WordPress Trac noreply at wordpress.org
Wed Nov 18 01:03:17 UTC 2015


#34707: Separate out the namespace from the path in rest_url
--------------------------+------------------------------
 Reporter:  rmccue        |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+------------------------------

Comment (by rachelbaker):

 @rmccue @danielbachhuber I believe the overall issue here is the confusion
 developers experience with the inconsistencies between
 `register_rest_route()` and `get_rest_url()`.

 I am too close to the code to understand if accepting an array and a
 string would reduce any confusion.  I am okay with `wontfix`ing this
 because of the BC breakage and unclear path forward.

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


More information about the wp-trac mailing list