Changeset 2940
- Timestamp:
- 04/12/2016 09:41:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php
r2937 r2940 1133 1133 1134 1134 if ( $summary ) { 1135 add_filter( 'the_excerpt', 'htmlentities', 9 ); // Run before wpautop 1135 // Fix https://developer.wordpress.org/reference/functions/get_extended/ 1136 // until the 'more' delimiter in summary is backticked. 1137 $summary = str_replace( array( '<!--', '-->' ), array( '<code><!--', '--></code>' ), $summary ); 1138 1136 1139 $summary = apply_filters( 'the_excerpt', apply_filters( 'get_the_excerpt', $summary ) ); 1137 remove_filter( 'the_excerpt', 'htmlentities', 9 );1138 1140 } 1139 1141
Note: See TracChangeset
for help on using the changeset viewer.