WordPress/wp-includes/fonts
Sergey Biryukov a67b37192f Editor: Replace `id` attribute with `class` in `WP_Font_Face::get_style_element()`.
`wp_print_font_faces()` prints an HTML tag that can be used more than once, so the document could end up having multiple tags with the same `id` attribute.

The `id` global attribute defines an identifier (ID) which must be unique in the whole document.

Reference: [https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id MDN Web Docs: id].

Follow-up to [56500].

Props mmaattiiaass, peterwilsoncc.
Fixes #62246.
Built from https://develop.svn.wordpress.org/trunk@59259


git-svn-id: http://core.svn.wordpress.org/trunk@58651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-10-20 13:13:15 +00:00
..
class-wp-font-collection.php Editor: Ensure font collection metadata can be properly localized. 2024-02-21 19:27:14 +00:00
class-wp-font-face-resolver.php Font face resolver: print font faces from font families defined in all theme.json origins. 2024-02-27 12:06:10 +00:00
class-wp-font-face.php Editor: Replace `id` attribute with `class` in `WP_Font_Face::get_style_element()`. 2024-10-20 13:13:15 +00:00
class-wp-font-library.php Editor: Ensure font collection metadata can be properly localized. 2024-02-21 19:27:14 +00:00
class-wp-font-utils.php Docs: Various docblock improvements. 2024-05-02 13:19:14 +00:00
dashicons.eot
dashicons.svg
dashicons.ttf
dashicons.woff
dashicons.woff2