[wp-trac] [WordPress Trac] #38733: REST API: Maintenance Mode sends HTML in request.

WordPress Trac noreply at wordpress.org
Wed Nov 9 16:10:46 UTC 2016


#38733: REST API: Maintenance Mode sends HTML in request.
-------------------------------+-----------------------------
 Reporter:  TimothyBlynJacobs  |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  General            |    Version:
 Severity:  normal             |   Keywords:
  Focuses:  rest-api           |
-------------------------------+-----------------------------
 If a request is made to the API while the site is in maintenance mode, the
 text is just echoed back to the client.

 Seems like this should be sent as a WP_Error.

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


More information about the wp-trac mailing list