Make WordPress Core

Ticket #55917: 55917.diff

File 55917.diff, 563 bytes (added by SergeyBiryukov, 22 months ago)
  • src/wp-includes/script-loader.php

     
    35233523                wp_add_inline_style( 'wp-block-library', $styles );
    35243524        };
    35253525
    3526         add_action( 'wp_loaded', $fn_register_webfonts );
     3526        add_action( 'wp_enqueue_scripts', $fn_register_webfonts );
    35273527        add_action( 'wp_enqueue_scripts', $fn_generate_and_enqueue_styles );
    35283528        add_action( 'admin_init', $fn_generate_and_enqueue_editor_styles );
    35293529}