WP-API/WP-API — pull request #524 by wkw (2014-10-09 21:10:30+00:00)
Title: WP_JSON_Posts::get_post_types() should return array, not hash/object

`WP_JSON_Posts::get_post_types()` may have had some old code around. it was returning an object whose keys were the Posttype names, rather than an array of objects. Discovered this while exploring the client-js repo.