WordPress.org

Make WordPress Core

Changeset 45244


Ignore:
Timestamp:
04/18/2019 03:40:37 PM (2 years ago)
Author:
ocean90
Message:

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

See #46683.

File:
1 edited

Legend:

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

    r45232 r45244  
    16921692
    16931693        $scripts->add( 'site-health', "/wp-admin/js/site-health$suffix.js", array( 'clipboard', 'jquery', 'wp-util', 'wp-a11y', 'wp-i18n' ), false, 1 );
     1694        $scripts->set_translations( 'site-health' );
    16941695
    16951696        $scripts->add( 'updates', "/wp-admin/js/updates$suffix.js", array( 'jquery', 'wp-util', 'wp-a11y' ), false, 1 );
Note: See TracChangeset for help on using the changeset viewer.