| @@ -296,15 +296,8 @@ | ||
| 296 | 296 | $parent_theme->merge( static::$theme ); |
| 297 | 297 | static::$theme = $parent_theme; |
| 298 | 298 | } |
| 299 | 299 | } |
| 300 | - | |
| 301 | - // BEGIN OF EXPERIMENTAL CODE. Not to backport to core. | |
| 302 | - if ( ! class_exists( 'WP_Font_Face' ) && class_exists( 'WP_Fonts_Resolver' ) ) { | |
| 303 | - static::$theme = WP_Fonts_Resolver::add_missing_fonts_to_theme_json( static::$theme ); | |
| 304 | - } | |
| 305 | - // END OF EXPERIMENTAL CODE. | |
| 306 | - | |
| 307 | 300 | } |
| 308 | 301 | |
| 309 | 302 | if ( ! $options['with_supports'] ) { |
| 310 | 303 | return static::$theme; |