Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

Commit

Permalink
Provide raw excerpt with edit context
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccue committed May 27, 2014
1 parent 5d55204 commit a12065d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/class-wp-json-posts.php
Expand Up @@ -640,6 +640,7 @@ protected function prepare_post( $post, $context = 'view' ) {
$post_fields_raw = array(
'title_raw' => $post['post_title'],
'content_raw' => $post['post_content'],
'excerpt_raw' => $post['post_excerpt'],
'guid_raw' => $post['guid'],
'post_meta' => $this->get_all_meta( $post['ID'] ),
);
Expand Down

0 comments on commit a12065d

Please sign in to comment.