Changeset 56244 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 07/17/2023 01:45:24 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r56191 r56244 3953 3953 * @since 1.5.0 3954 3954 * @since 5.2.0 Added the `$post` parameter. 3955 * @since 6.3.0 Removes footnotes markup from the excerpt content. 3955 3956 * 3956 3957 * @param string $text Optional. The excerpt. If set to empty, an excerpt is generated. … … 3967 3968 $text = strip_shortcodes( $text ); 3968 3969 $text = excerpt_remove_blocks( $text ); 3970 $text = excerpt_remove_footnotes( $text ); 3969 3971 3970 3972 /* … … 4009 4011 $excerpt_more = apply_filters( 'excerpt_more', ' ' . '[…]' ); 4010 4012 $text = wp_trim_words( $text, $excerpt_length, $excerpt_more ); 4013 4011 4014 } 4012 4015
Note: See TracChangeset
for help on using the changeset viewer.