Skip to content

Commit 18c0835

Browse files
Add support for preserving allowed HTML tags via excerpt_allowed_tags filter
1 parent 15bc244 commit 18c0835

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/wp-includes/formatting.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3951,6 +3951,7 @@ function human_time_diff( $from, $to = 0 ) {
39513951
* @since 1.5.0
39523952
* @since 5.2.0 Added the `$post` parameter.
39533953
* @since 6.3.0 Removes footnotes markup from the excerpt content.
3954+
* @since 7.1.0 Added support for preserving allowed HTML tags via the `excerpt_allowed_tags` filter.
39543955
*
39553956
* @param string $text Optional. The excerpt. If set to empty, an excerpt is generated.
39563957
* @param WP_Post|object|int $post Optional. WP_Post instance or Post ID/object. Default null.

0 commit comments

Comments
 (0)