WP-API/WP-API — pull request #645 by staylor (2014-11-26 19:01:23+00:00)
Title: `->prepare_post()` should be public

Plugins need to generate a compatible post structure at times.

Example:

$a = get_post( $post['ID'], ARRAY_A );
$p = $wp_json_posts->prepare_post( $a, 'view' );