Introduce `WP_JSON_Resource` for accessing resources
First pass at a user resource
Uppercase
Add `check_context_permission` method to user resource
Flesh out `delete()` method
absint() just in case
Copy over create / update methods
Confirm responses
Offload to our new User_Resource
Merge branch 'two-dot-oh' into resources
Can't implement JsonSerializable. PHP fatal
Ensure these are defined with set args
This is a static method
`get_called_class()` is > PHP 5.3
strtoupper
Fix incorrectly named method
Base class needs to be included too
Better function to use
The current user can always access their own data
Email is now returned when creating a user, and never for view