Skip to content

Commit

Permalink
Fonts: Fix font_style typo in wp_print_font_faces().
Browse files Browse the repository at this point in the history
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
  • Loading branch information
hellofromTonya authored and hellofromTonya committed Jan 3, 2024
1 parent 489b9e7 commit 43d2455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/fonts.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 43d2455

Please sign in to comment.