diff --git a/lib/class-wp-json-posts.php b/lib/class-wp-json-posts.php index 3e448c04b0..1b70fb19ac 100644 --- a/lib/class-wp-json-posts.php +++ b/lib/class-wp-json-posts.php @@ -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'] ), );