Skip to content

Commit

Permalink
Fix compatibility with WP 6.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Dec 28, 2022
1 parent 204cd8b commit 7ecc821
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 @@ -1806,7 +1806,7 @@ protected static function compute_style_properties( $styles, $settings = array()
* Values that already have a clamp() function will not pass the test,
* and therefore the original $value will be returned.
*/
$value = wp_get_typography_font_size_value( array( 'size' => $value ) );
$value = gutenberg_get_typography_font_size_value( array( 'size' => $value ) );
}

$declarations[] = array(
Expand Down

1 comment on commit 7ecc821

@github-actions
Copy link

@github-actions github-actions bot commented on 7ecc821 Dec 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3792296591
📝 Reported issues:

Please sign in to comment.