- Timestamp:
- 10/28/2019 07:33:24 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r46608 r46609 1559 1559 if ( rest_is_field_included( 'excerpt', $fields ) ) { 1560 1560 /** This filter is documented in wp-includes/post-template.php */ 1561 $excerpt = apply_filters( 'get_the_excerpt', $post->post_excerpt, $post ); 1561 $excerpt = apply_filters( 'get_the_excerpt', $post->post_excerpt, $post ); 1562 1562 1563 /** This filter is documented in wp-includes/post-template.php */ 1563 $excerpt = apply_filters( 'the_excerpt', $excerpt ); 1564 $excerpt = apply_filters( 'the_excerpt', $excerpt ); 1565 1564 1566 $data['excerpt'] = array( 1565 1567 'raw' => $post->post_excerpt,
Note: See TracChangeset
for help on using the changeset viewer.