WP-API/WP-API — pull request #133 by rmccue (2014-04-14 14:44:40+00:00)
Title: data parameter is overwritten with JSON decoded data, even on failure

Discovered by @rachelbaker.

If you pass `data[title]=Hello%20World` in the POST body, the `data` parameter internally gets overwritten with the result of `json_decode`. We should check `json_last_error` and skip if it's non-zero.