Closed bobbingwide closed 8 years ago
rest-api v2 ( https://github.com/WP-API/WP-API ) returns JSON to the requester. oik-bwtrace should not append HTML comments. In v1 the constant that was defined was JSON_REQUEST. v2 uses REST_REQUEST. bw_trace_ok_to_echo() should detect this.
rest-api v2 ( https://github.com/WP-API/WP-API ) returns JSON to the requester. oik-bwtrace should not append HTML comments. In v1 the constant that was defined was JSON_REQUEST. v2 uses REST_REQUEST. bw_trace_ok_to_echo() should detect this.