WP-API/WP-API — pull request #60 by abulte (2013-12-16 11:13:09+00:00)
Title: Use $wp_json_server as parameter to instantiate WP_JSON_CustomPostType

Hi,

Don't know if it's exactly the correct thing to do, but I ended up using global `$wp_json_server` to be able to instantiate a child class of `WP_JSON_CustomPostType`.