Changeset 56540 for trunk/src/wp-includes/fonts.php
- Timestamp:
- 09/07/2023 05:28:59 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/fonts.php
r56500 r56540 40 40 */ 41 41 function wp_print_font_faces( $fonts = array() ) { 42 static $wp_font_face = null;43 42 44 43 if ( empty( $fonts ) ) { … … 50 49 } 51 50 52 if ( null === $wp_font_face ) { 53 $wp_font_face = new WP_Font_Face(); 54 } 55 51 $wp_font_face = new WP_Font_Face(); 56 52 $wp_font_face->generate_and_print( $fonts ); 57 53 }
Note: See TracChangeset
for help on using the changeset viewer.