From 1648e6903b12e32e912036f2b020eb828c91dc5a Mon Sep 17 00:00:00 2001 From: Anton Vlasenko Date: Wed, 15 Nov 2023 17:44:54 +0100 Subject: [PATCH] Lower the priority as suggested by @azaozz here: https://github.com/WordPress/gutenberg/pull/55400#discussion_r1383207365 --- packages/block-library/src/post-excerpt/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/post-excerpt/index.php b/packages/block-library/src/post-excerpt/index.php index 53bd1b2158cd40..a723c13a4daac7 100644 --- a/packages/block-library/src/post-excerpt/index.php +++ b/packages/block-library/src/post-excerpt/index.php @@ -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 );