wp/wp-includes/fonts/class-wp-font-face.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
--- a/wp/wp-includes/fonts/class-wp-font-face.php	Fri Sep 05 18:40:08 2025 +0200
+++ b/wp/wp-includes/fonts/class-wp-font-face.php	Fri Sep 05 18:52:52 2025 +0200
@@ -229,7 +229,7 @@
 	private function get_style_element() {
 		$attributes = $this->generate_style_element_attributes();
 
-		return "<style id='wp-fonts-local'{$attributes}>\n%s\n</style>\n";
+		return "<style class='wp-fonts-local'{$attributes}>\n%s\n</style>\n";
 	}
 
 	/**