From 43d2455dc68072fdd43c3c800cc8c32590f23cbe Mon Sep 17 00:00:00 2001 From: hellofromTonya Date: Wed, 3 Jan 2024 22:11:01 +0000 Subject: [PATCH] Fonts: Fix font_style typo in wp_print_font_faces(). Changes `font_style` to `font-style` to reflect the CSS property. Follow-up to [56540]. Props tmatsuur, rajinsharwar, audrasjb. Fixes #59858. git-svn-id: https://develop.svn.wordpress.org/trunk@57240 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/fonts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/fonts.php b/src/wp-includes/fonts.php index 306364bdc8..87503c275f 100644 --- a/src/wp-includes/fonts.php +++ b/src/wp-includes/fonts.php @@ -22,7 +22,7 @@ * @type array $font_variation { * @type string $font-family The font-family property. * @type string|string[] $src The URL(s) to each resource containing the font data. - * @type string $font_style Optional. The font-style property. Default 'normal'. + * @type string $font-style Optional. The font-style property. Default 'normal'. * @type string $font-weight Optional. The font-weight property. Default '400'. * @type string $font-display Optional. The font-display property. Default 'fallback'. * @type string $ascent-override Optional. The ascent-override property.