Site Health: Enable JavaScript translations for the site-health
script.
See #46683. git-svn-id: https://develop.svn.wordpress.org/trunk@45244 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b074b74489
commit
18e373dea4
@ -1691,6 +1691,7 @@ function wp_default_scripts( &$scripts ) {
|
||||
);
|
||||
|
||||
$scripts->add( 'site-health', "/wp-admin/js/site-health$suffix.js", array( 'clipboard', 'jquery', 'wp-util', 'wp-a11y', 'wp-i18n' ), false, 1 );
|
||||
$scripts->set_translations( 'site-health' );
|
||||
|
||||
$scripts->add( 'updates', "/wp-admin/js/updates$suffix.js", array( 'jquery', 'wp-util', 'wp-a11y' ), false, 1 );
|
||||
did_action( 'init' ) && $scripts->localize(
|
||||
|
Loading…
Reference in New Issue
Block a user