Editor: Update npm packages to fix gutenberg_ prefix

Update `@wordpress/*` packages to the latest patch versions in
order to replace calls to `gutenberg_apply_colors_support` with
`wp_apply_colors_support` in order to avoid a fatal error.

Props joemcgill, spacedmonkey, flixos90, ironprogrammer, sabernhardt.
Fixes #58651.
Built from https://develop.svn.wordpress.org/trunk@56098


git-svn-id: http://core.svn.wordpress.org/trunk@55610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Bernhard Reiter 2023-06-28 22:38:52 +00:00
parent ca421dd3c0
commit c922d4cf06
2 changed files with 3 additions and 3 deletions

View File

@ -199,9 +199,9 @@ function render_block_core_navigation_submenu( $attributes, $content, $block ) {
$attributes['style']['color']['background'] = $block->context['customOverlayBackgroundColor']; $attributes['style']['color']['background'] = $block->context['customOverlayBackgroundColor'];
} }
// This allows us to be able to get a response from gutenberg_apply_colors_support. // This allows us to be able to get a response from wp_apply_colors_support.
$block->block_type->supports['color'] = true; $block->block_type->supports['color'] = true;
$colors_supports = gutenberg_apply_colors_support( $block->block_type, $attributes ); $colors_supports = wp_apply_colors_support( $block->block_type, $attributes );
$css_classes = 'wp-block-navigation__submenu-container'; $css_classes = 'wp-block-navigation__submenu-container';
if ( array_key_exists( 'class', $colors_supports ) ) { if ( array_key_exists( 'class', $colors_supports ) ) {
$css_classes .= ' ' . $colors_supports['class']; $css_classes .= ' ' . $colors_supports['class'];

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.3-alpha-56097'; $wp_version = '6.3-alpha-56098';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.