mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
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:
parent
ca421dd3c0
commit
c922d4cf06
@ -199,9 +199,9 @@ function render_block_core_navigation_submenu( $attributes, $content, $block ) {
|
||||
$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;
|
||||
$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';
|
||||
if ( array_key_exists( 'class', $colors_supports ) ) {
|
||||
$css_classes .= ' ' . $colors_supports['class'];
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @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.
|
||||
|
Loading…
Reference in New Issue
Block a user