Make WordPress Core

Ticket #55632: 55632.diff

File 55632.diff, 543 bytes (added by peterwilsoncc, 3 years ago)
  • src/wp-includes/script-loader.php

    diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php
    index abe176cd83..f0f88d6d0d 100644
    a b function _wp_theme_json_webfonts_handler() { 
    30683068         * @return array Array of defined webfonts.
    30693069         */
    30703070        $fn_get_webfonts_from_theme_json = static function() {
     3071                if ( wp_installing() ) {
     3072                        return array();
     3073                }
     3074
    30713075                // Get settings from theme.json.
    30723076                $settings = WP_Theme_JSON_Resolver::get_merged_data()->get_settings();
    30733077