Skip to content

Commit

Permalink
Small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
cbravobernal committed May 18, 2023
1 parent 201a66d commit dd0db77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.3/behaviors.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
function( $settings ) {
$theme_data = WP_Theme_JSON_Resolver_Gutenberg::get_theme_data()->get_data();
if ( array_key_exists( 'behaviors', $theme_data ) ) {
$settings['behaviors'] = WP_Theme_JSON_Resolver_Gutenberg::get_theme_data()->get_data()['behaviors'];
$settings['behaviors'] = $theme_data['behaviors'];
}
// TODO: Make sure to also get the value from the core theme.json file.
return $settings;
Expand Down

0 comments on commit dd0db77

Please sign in to comment.