[wp-trac] [WordPress Trac] #38733: REST API: Maintenance Mode sends HTML in request.
WordPress Trac
noreply at wordpress.org
Wed Nov 9 17:16:27 UTC 2016
#38733: REST API: Maintenance Mode sends HTML in request.
-------------------------------+-----------------------
Reporter: TimothyBlynJacobs | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: rest-api
-------------------------------+-----------------------
Comment (by TimothyBlynJacobs):
Yeah, I think you'd essentially have to print the rest prefix variable in
the maintenance file, and then check for either that prefix or the
rest_route query arg.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38733#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list