Changeset 53157 for trunk/src/wp-includes/blocks/post-template.php
- Timestamp:
- 04/12/2022 03:10:30 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/post-template.php
r52042 r53157 62 62 ) 63 63 )->render( array( 'dynamic' => false ) ); 64 $post_classes = esc_attr( implode( ' ', get_post_class( 'wp-block-post' )) );65 $content .= '<li class="' . $post_classes. '">' . $block_content . '</li>';64 $post_classes = implode( ' ', get_post_class( 'wp-block-post' ) ); 65 $content .= '<li class="' . esc_attr( $post_classes ) . '">' . $block_content . '</li>'; 66 66 } 67 67
Note: See TracChangeset
for help on using the changeset viewer.