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

WordPress Trac noreply at wordpress.org
Wed Apr 1 08:50:59 UTC 2020


#49749: Bug in WordPress API when I have the prefix for wp for the endpoint
--------------------------+-----------------------------
 Reporter:  skarabeq      |      Owner:  dd32
     Type:  defect (bug)  |     Status:  assigned
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  HTTP API      |    Version:  5.4
 Severity:  major         |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 In the custom API when I use the prefix `wp`, I have got the error message
 - **No route was found matching the URL and request method**

 {{{
 {
     "code": "rest_no_route",
     "message": "No route was found matching the URL and request method",
     "data": {
         "status": 404
     }
 }
 }}}

 In the last stable WordPress version 5.3.2, it wasn't happening!

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


More information about the wp-trac mailing list