[wp-trac] [WordPress Trac] #49749: Bug in WordPress API when I have the prefix wp for the custom endpoint

WordPress Trac noreply at wordpress.org
Thu Apr 2 08:31:31 UTC 2020


#49749: Bug in WordPress API when I have the prefix wp for the custom endpoint
-------------------------------------+-----------------------
 Reporter:  skarabeq                 |       Owner:  (none)
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.4.1
Component:  REST API                 |     Version:  5.4
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:
-------------------------------------+-----------------------

Comment (by skarabeq):

 @TimothyBlynJacobs, one more thing about this problem. If there is the
 namespace which is not named with word `wp` then I'm able to use the
 namespace with a slash at the beginning of the namespace, but if there is
 the namespace - `wp` and it starts at the beginning with the slash, then I
 have the described problem. So I think that your solution is just
 workaround.

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


More information about the wp-trac mailing list