Skip to content

Commit

Permalink
Use wp_should_skip_block_supports_serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinan committed Jan 31, 2023
1 parent 291cced commit 27b1f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/block-supports/anchor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 27b1f79

Please sign in to comment.