PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | lib/class-wp-theme-json-resolver-gutenberg.php +0 -7 24.0.0 → trunk View file →
@@ -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;