wp/wp-includes/fonts/class-wp-font-face.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
   227 	 * @return string The style element.
   227 	 * @return string The style element.
   228 	 */
   228 	 */
   229 	private function get_style_element() {
   229 	private function get_style_element() {
   230 		$attributes = $this->generate_style_element_attributes();
   230 		$attributes = $this->generate_style_element_attributes();
   231 
   231 
   232 		return "<style id='wp-fonts-local'{$attributes}>\n%s\n</style>\n";
   232 		return "<style class='wp-fonts-local'{$attributes}>\n%s\n</style>\n";
   233 	}
   233 	}
   234 
   234 
   235 	/**
   235 	/**
   236 	 * Gets the defined <style> element's attributes.
   236 	 * Gets the defined <style> element's attributes.
   237 	 *
   237 	 *