WP-API/WP-API — pull request #701 by danielbachhuber (2014-12-09 18:50:28+00:00)
Title: Fields cleanup for User controller

* Only expose `username` in `edit` context.
* Rename `registered` to `registered_date`, and only expose in `view` context.
* Rename `avatar` to `avatar_url`.
* Some test coverage to address potential data leakage.

See #605