WordPress.org

Make WordPress Core

Ticket #52483: 52483.diff

File 52483.diff, 958 bytes (added by mukesh27, 4 months ago)

Updated patch.

  • wp-includes/script-loader.php

    diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php
    index 9680c4d8c6..5df55e831d 100644
    a b function wp_default_scripts( $scripts ) { 
    13121312                $scripts->add( 'plugin-install', "/wp-admin/js/plugin-install$suffix.js", array( 'jquery', 'jquery-ui-core', 'thickbox' ), false, 1 );
    13131313                $scripts->set_translations( 'plugin-install' );
    13141314
    1315                 $scripts->add( 'site-health', "/wp-admin/js/site-health$suffix.js", array( 'clipboard', 'jquery', 'wp-util', 'wp-a11y', 'wp-api-request', 'wp-url' ), false, 1 );
     1315                $scripts->add( 'site-health', "/wp-admin/js/site-health$suffix.js", array( 'clipboard', 'jquery', 'wp-util', 'wp-a11y', 'wp-api-request', 'wp-url', 'wp-i18n', 'wp-hooks' ), false, 1 );
    13161316                $scripts->set_translations( 'site-health' );
    13171317
    13181318                $scripts->add( 'privacy-tools', "/wp-admin/js/privacy-tools$suffix.js", array( 'jquery', 'wp-a11y' ), false, 1 );