Changeset 53076 for trunk/src/wp-includes/block-supports/elements.php
- Timestamp:
- 04/05/2022 12:06:48 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/block-supports/elements.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/elements.php
r53012 r53076 19 19 function wp_render_elements_support( $block_content, $block ) { 20 20 if ( ! $block_content ) { 21 return $block_content; 22 } 23 24 $block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] ); 25 $skip_link_color_serialization = wp_should_skip_block_supports_serialization( $block_type, 'color', 'link' ); 26 27 if ( $skip_link_color_serialization ) { 21 28 return $block_content; 22 29 }
Note: See TracChangeset
for help on using the changeset viewer.