Site Health: Enable JavaScript translations for the `site-health` script.

See #46683.
Built from https://develop.svn.wordpress.org/trunk@45244


git-svn-id: http://core.svn.wordpress.org/trunk@45053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2019-04-18 15:41:51 +00:00
parent 6fcd281707
commit bfc2be39e6
2 changed files with 2 additions and 1 deletions

View File

@ -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(

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.2-beta3-45243';
$wp_version = '5.2-beta3-45244';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.