Skip to content

Commit 43d2455

Browse files
hellofromTonyahellofromTonya
authored andcommitted
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
1 parent 489b9e7 commit 43d2455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/fonts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* @type array $font_variation {
2323
* @type string $font-family The font-family property.
2424
* @type string|string[] $src The URL(s) to each resource containing the font data.
25-
* @type string $font_style Optional. The font-style property. Default 'normal'.
25+
* @type string $font-style Optional. The font-style property. Default 'normal'.
2626
* @type string $font-weight Optional. The font-weight property. Default '400'.
2727
* @type string $font-display Optional. The font-display property. Default 'fallback'.
2828
* @type string $ascent-override Optional. The ascent-override property.

0 commit comments

Comments
 (0)