Changeset 56098 for trunk/src/wp-includes/blocks/navigation-submenu.php
- Timestamp:
- 06/28/2023 10:36:22 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/navigation-submenu.php
r56065 r56098 200 200 } 201 201 202 // This allows us to be able to get a response from gutenberg_apply_colors_support.202 // This allows us to be able to get a response from wp_apply_colors_support. 203 203 $block->block_type->supports['color'] = true; 204 $colors_supports = gutenberg_apply_colors_support( $block->block_type, $attributes );204 $colors_supports = wp_apply_colors_support( $block->block_type, $attributes ); 205 205 $css_classes = 'wp-block-navigation__submenu-container'; 206 206 if ( array_key_exists( 'class', $colors_supports ) ) {
Note: See TracChangeset
for help on using the changeset viewer.