Skip to content

Commit

Permalink
Lower the priority as suggested by @azaozz here: #55400 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-vlasenko authored and Anton Vlasenko committed Nov 15, 2023
1 parent 8424dea commit 1648e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/post-excerpt/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ function register_block_core_post_excerpt_length_filter( $value ) {

return 100;
}
add_filter( 'excerpt_length', 'register_block_core_post_excerpt_length_filter', PHP_INT_MAX );
add_filter( 'excerpt_length', 'register_block_core_post_excerpt_length_filter', 20 );

0 comments on commit 1648e69

Please sign in to comment.