get_post() safely handles $id, remove dupe error check
Update all instances of duplicate $id checks
Allow hijacking API requests
Handle CORS and OPTIONS requests
Access method map in PHP 5.2-compatible way
Remove var_dump
Merge branch 'master' into allow-hijacking-request
Add initial pass at splitting meta out
Add backwards compatibility shims for meta methods
Add missing permissions method
Use correct variables
Use old error codes for backwards compatibility
Switch tests to new meta class
Correct inline docs
json_prepare_post never sends a WP_JSON_Response

The filter is used in the prepare_post method, which only returns data.
Any extra headers/etc need to be added in a higher level.
Merge branch 'master' into split-meta-class
Add inline documentation for meta methods
Update inline docs to match standards
Merge branch 'master' into allow-hijacking-request
Merge branch 'master' into split-meta-class