From 27b1f794bdfc8e3dbe3fe39e1e86c2b58d17225c Mon Sep 17 00:00:00 2001 From: Carolina Nymark Date: Tue, 31 Jan 2023 14:10:39 +0100 Subject: [PATCH] Use wp_should_skip_block_supports_serialization --- lib/block-supports/anchor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/block-supports/anchor.php b/lib/block-supports/anchor.php index 52539030a57871..8f704a5019b365 100644 --- a/lib/block-supports/anchor.php +++ b/lib/block-supports/anchor.php @@ -40,7 +40,7 @@ function gutenberg_apply_anchor_support( $block_type, $block_attributes ) { return array(); } - if ( gutenberg_should_skip_block_supports_serialization( $block_type, 'anchor' ) ) { + if ( wp_should_skip_block_supports_serialization( $block_type, 'anchor' ) ) { return array(); }