Ticket #59043: 59043.diff
File 59043.diff, 533 bytes (added by , 13 months ago) |
---|
-
src/wp-includes/blocks/post-excerpt.php
diff --git src/wp-includes/blocks/post-excerpt.php src/wp-includes/blocks/post-excerpt.php index 4ed4edab95..478b573d35 100644
add_action( 'init', 'register_block_core_post_excerpt' ); 83 83 * the excerpt length block setting has no effect. 84 84 * Returns 100 because 100 is the max length in the setting. 85 85 */ 86 if ( is_admin() ||86 if ( is_admin() && 87 87 defined( 'REST_REQUEST' ) && REST_REQUEST ) { 88 88 add_filter( 89 89 'excerpt_length',