Changeset 56710 for trunk/src/wp-includes/blocks/post-excerpt.php
- Timestamp:
- 09/26/2023 02:20:18 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/blocks/post-excerpt.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/post-excerpt.php
r56065 r56710 32 32 33 33 $more_text = ! empty( $attributes['moreText'] ) ? '<a class="wp-block-post-excerpt__more-link" href="' . esc_url( get_the_permalink( $block->context['postId'] ) ) . '">' . wp_kses_post( $attributes['moreText'] ) . '</a>' : ''; 34 $filter_excerpt_more = static function ( $more ) use ( $more_text ) {34 $filter_excerpt_more = static function ( $more ) use ( $more_text ) { 35 35 return empty( $more_text ) ? $more : ''; 36 36 }; … … 88 88 add_filter( 89 89 'excerpt_length', 90 static function () {90 static function () { 91 91 return 100; 92 92 },
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)