Make WordPress Core

Changeset 57240


Ignore:
Timestamp:
01/03/2024 10:11:01 PM (5 months ago)
Author:
hellofromTonya
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/fonts.php

    r56540 r57240  
    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'.
Note: See TracChangeset for help on using the changeset viewer.