[wp-trac] [WordPress Trac] #34302: get_rest_url() should not include a trailing slash by default

WordPress Trac noreply at wordpress.org
Mon Oct 19 23:24:55 UTC 2015


#34302: get_rest_url() should not include a trailing slash by default
--------------------------+----------------------
 Reporter:  johnbillion   |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:  invalid
 Keywords:  needs-patch   |     Focuses:
--------------------------+----------------------

Comment (by rachelbaker):

 Related:
 https://github.com/WP-API/WP-API/issues/1505 - Require the $namespace
 argument in register_rest_route()
 and
 https://github.com/WP-API/WP-API/issues/1504 - Separate out the namespace
 from the path in rest_url/get_rest_url functions

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


More information about the wp-trac mailing list