Skip to content

Commit

Permalink
Add ENT_COMPAT again
Browse files Browse the repository at this point in the history
  • Loading branch information
tbradsha committed Dec 16, 2024
1 parent de03fc9 commit 3af28b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ public static function filter_excerpt( $attributes ) {
}

// Set excerpt length (https://core.trac.wordpress.org/ticket/29533#comment:3).
$excerpt = force_balance_tags( html_entity_decode( wp_trim_words( htmlentities( $excerpt ), $excerpt_length, static::more_excerpt() ) ) );
$excerpt = force_balance_tags( html_entity_decode( wp_trim_words( htmlentities( $excerpt, ENT_COMPAT ), $excerpt_length, static::more_excerpt(), ENT_COMPAT ) ) );

return $excerpt;
};
Expand Down

0 comments on commit 3af28b0

Please sign in to comment.