[wp-trac] [WordPress Trac] #43513: class-wp-rest-taxonomies-controller.php returns 500 status

WordPress Trac noreply at wordpress.org
Fri Mar 9 14:06:43 UTC 2018


#43513: class-wp-rest-taxonomies-controller.php returns 500 status
--------------------------+----------------------
 Reporter:  nooozeguy     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  HTTP API      |     Version:  4.9.4
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by danieltj):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hi @nooozeguy, welcome to Trac!

 This doesn't seem like a bug to me because files inside `wp-includes` are
 not designed to be accessed directly. If you want to use the REST API, you
 should send requests to the `wp-json` endpoint instead, rather than direct
 to the PHP files inside the includes folder. The reason why it's appearing
 in Google Search Console is probably due to someone or something trying to
 access in the wrong circumstances.

 You can find out more information about the API and available endpoints in
 the [https://developer.wordpress.org/rest-api/ handbook].

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


More information about the wp-trac mailing list