WordPress.org

Make WordPress Core

Changeset 50294


Ignore:
Timestamp:
02/12/2021 12:08:16 AM (4 months ago)
Author:
peterwilsoncc
Message:

Site Health: Update site-health script dependencies.

Add wp-hooks and wp-i18n to Site Health JavaScript dependencies.

Props gmariani405, Clorith, mukesh27.
Fixes #52483.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r50264 r50294  
    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
Note: See TracChangeset for help on using the changeset viewer.