Changeset 5433
- Timestamp:
- 04/29/2017 02:55:10 PM (7 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php
r5432 r5433 1283 1283 } 1284 1284 1285 $summary = apply_filters( 'the_excerpt', apply_filters( 'get_the_excerpt', $summary ) );1285 $summary = apply_filters( 'the_excerpt', apply_filters( 'get_the_excerpt', $summary, $post ) ); 1286 1286 } 1287 1287 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/reference/template-methods.php
r3660 r5433 24 24 echo substr( $title, $pos ); 25 25 ?></a> 26 <?php if ( $excerpt = apply_filters( 'get_the_excerpt', $child->post_excerpt ) ) {26 <?php if ( $excerpt = apply_filters( 'get_the_excerpt', $child->post_excerpt, $child ) ) { 27 27 echo '— ' . sanitize_text_field( $excerpt ); 28 28 } ?>
Note: See TracChangeset
for help on using the changeset viewer.