Changeset 45448 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 05/26/2019 08:49:04 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r45434 r45448 1543 1543 1544 1544 $scripts->add( 'xfn', "/wp-admin/js/xfn$suffix.js", array( 'jquery' ), false, 1 ); 1545 did_action( 'init' ) && $scripts->localize(1546 'xfn',1547 'privacyToolsL10n',1548 array(1549 'noDataFound' => __( 'No personal data was found for this user.' ),1550 'foundAndRemoved' => __( 'All of the personal data found for this user was erased.' ),1551 'noneRemoved' => __( 'Personal data was found for this user but was not erased.' ),1552 'someNotRemoved' => __( 'Personal data was found for this user but some of the personal data found was not erased.' ),1553 'removalError' => __( 'An error occurred while attempting to find and erase personal data.' ),1554 'noExportFile' => __( 'No personal data export file was generated.' ),1555 'exportError' => __( 'An error occurred while attempting to export personal data.' ),1556 )1557 );1558 1545 1559 1546 $scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array( 'jquery-ui-sortable' ), false, 1 ); … … 1693 1680 $scripts->add( 'site-health', "/wp-admin/js/site-health$suffix.js", array( 'clipboard', 'jquery', 'wp-util', 'wp-a11y', 'wp-i18n' ), false, 1 ); 1694 1681 $scripts->set_translations( 'site-health' ); 1682 1683 $scripts->add( 'privacy-tools', "/wp-admin/js/privacy-tools$suffix.js", array( 'jquery' ), false, 1 ); 1684 did_action( 'init' ) && $scripts->localize( 1685 'privacy-tools', 1686 'privacyToolsL10n', 1687 array( 1688 'noDataFound' => __( 'No personal data was found for this user.' ), 1689 'foundAndRemoved' => __( 'All of the personal data found for this user was erased.' ), 1690 'noneRemoved' => __( 'Personal data was found for this user but was not erased.' ), 1691 'someNotRemoved' => __( 'Personal data was found for this user but some of the personal data found was not erased.' ), 1692 'removalError' => __( 'An error occurred while attempting to find and erase personal data.' ), 1693 'noExportFile' => __( 'No personal data export file was generated.' ), 1694 'exportError' => __( 'An error occurred while attempting to export personal data.' ), 1695 ) 1696 ); 1695 1697 1696 1698 $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.