Changeset 50945 for trunk/src/wp-includes/blocks/post-content.php
- Timestamp:
- 05/21/2021 10:12:42 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/post-content.php
r50929 r50945 50 50 51 51 $content = get_the_content( null, false, $post_id ); 52 /** This filter is documented in wp-includes/post-template.php */ 53 $content = apply_filters( 'the_content', str_replace( ']]>', ']]>', $content ) ); 54 unset( $seen_ids[ $post_id ] ); 52 55 53 56 if ( empty( $content ) ) { 54 unset( $seen_ids[ $post_id ] );55 57 return ''; 56 58 } 57 59 58 60 $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => 'entry-content' ) ); 59 /** This filter is documented in wp-includes/post-template.php */60 $content = apply_filters( 'the_content', str_replace( ']]>', ']]>', $content ) );61 unset( $seen_ids[ $post_id ] );62 61 63 62 return (
Note: See TracChangeset
for help on using the changeset viewer.