Skip to content

Commit

Permalink
Correct the class name for the latest posts excerpt. (#15758)
Browse files Browse the repository at this point in the history
On the front end only.
  • Loading branch information
kjellr authored and draganescu committed May 22, 2019
1 parent 9ce596c commit f2cafbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/latest-posts/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function render_block_core_latest_posts( $attributes ) {
$trimmed_excerpt = esc_html( wp_trim_words( $post_excerpt, $excerpt_length, ' … ' ) );

$list_items_markup .= sprintf(
'<div class="wp-block-latest-posts____post-excerpt">%1$s',
'<div class="wp-block-latest-posts__post-excerpt">%1$s',
$trimmed_excerpt
);

Expand Down

0 comments on commit f2cafbd

Please sign in to comment.