PluginProbe
Gutenberg / 24.0.0
Gutenberg v24.0.0
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
← All changes | build/scripts/block-library/image.php +1 -1 23.5.224.0.0 View file →
@@ -334,9 +334,9 @@
334 334 // default values because it can't get them from the Global Styles.
335 335 $background_color = '#fff';
336 336 $close_button_color = '#000';
337 337 if ( wp_theme_has_theme_json() ) {
338 - $global_styles_color = wp_get_global_styles( array( 'color' ) );
338 + $global_styles_color = gutenberg_get_global_styles( array( 'color' ) );
339 339 if ( ! empty( $global_styles_color['background'] ) ) {
340 340 $background_color = esc_attr( $global_styles_color['background'] );
341 341 }
342 342 if ( ! empty( $global_styles_color['text'] ) ) {