[wp-trac] [WordPress Trac] #49749: Registering rest routes with a slash-prefixed namespace give inconsistent results

WordPress Trac noreply at wordpress.org
Wed May 20 01:13:16 UTC 2020


#49749: Registering rest routes with a slash-prefixed namespace give inconsistent
results
--------------------------------------+-----------------------
 Reporter:  skarabeq                  |       Owner:  (none)
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.4.2
Component:  REST API                  |     Version:  5.4
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------
Changes (by TimothyBlynJacobs):

 * keywords:  needs-patch 2nd-opinion => has-patch has-unit-tests


Comment:

 I've uploaded a PR that issues a `_doing_it_wrong` notice and cleans the
 namespace to be valid.

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


More information about the wp-trac mailing list