Skip to content

Commit

Permalink
Use proper function name
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Dec 7, 2021
1 parent 48e4e1e commit b481928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/global-styles.php
Expand Up @@ -282,7 +282,7 @@ function gutenberg_global_styles_include_support_for_wp_variables( $allow_css, $
*/
function gutenberg_load_css_custom_properties() {
wp_register_style( 'global-styles-css-custom-properties', false, array(), true, true );
wp_add_inline_style( 'global-styles-css-custom-properties', gutenberg_get_global_stylesheet( array( 'variables' ) ) );
wp_add_inline_style( 'global-styles-css-custom-properties', wp_get_global_stylesheet( array( 'variables' ) ) );
wp_enqueue_style( 'global-styles-css-custom-properties' );
}

Expand Down

0 comments on commit b481928

Please sign in to comment.