Skip to content

Commit

Permalink
Set prevent_override to false
Browse files Browse the repository at this point in the history
  • Loading branch information
SantosGuillamot committed Jan 29, 2024
1 parent cca1a20 commit c9d228c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class-wp-theme-json-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class WP_Theme_JSON_Gutenberg {
),
array(
'path' => array( 'typography', 'fontSizes' ),
'prevent_override' => array( 'typography', 'defaultFontSizes' ),
'prevent_override' => false,
'use_default_names' => true,
'value_func' => 'gutenberg_get_typography_font_size_value',
'css_vars' => '--wp--preset--font-size--$slug',
Expand Down

0 comments on commit c9d228c

Please sign in to comment.