Changeset 56710 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 09/26/2023 02:20:18 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r56687 r56710 109 109 'react' => '18.2.0', 110 110 'react-dom' => '18.2.0', 111 'regenerator-runtime' => '0.1 4.0',111 'regenerator-runtime' => '0.13.11', 112 112 'moment' => '2.29.4', 113 113 'lodash' => '4.17.19', … … 279 279 */ 280 280 $assets = include ABSPATH . WPINC . "/assets/script-loader-packages{$suffix}.php"; 281 282 // Add the private version of the Interactivity API manually. 283 $scripts->add( 'wp-interactivity', '/wp-includes/js/dist/interactivity.min.js' ); 284 did_action( 'init' ) && $scripts->add_data( 'wp-interactivity', 'strategy', 'defer' ); 281 285 282 286 foreach ( $assets as $file_name => $package_data ) { … … 1685 1689 'wp-reusable-blocks', 1686 1690 'wp-block-editor-content', 1691 'wp-patterns', 1687 1692 ); 1688 1693 … … 1727 1732 'wp-block-editor', 1728 1733 'wp-reusable-blocks', 1734 'wp-patterns', 1729 1735 ), 1730 1736 'format-library' => array(), 1731 1737 'list-reusable-blocks' => array( 'wp-components' ), 1732 1738 'reusable-blocks' => array( 'wp-components' ), 1739 'patterns' => array( 'wp-components' ), 1733 1740 'nux' => array( 'wp-components' ), 1734 1741 'widgets' => array( … … 1741 1748 'wp-block-library', 1742 1749 'wp-reusable-blocks', 1750 'wp-patterns', 1743 1751 ), 1744 1752 'customize-widgets' => array( … … 1748 1756 'wp-block-library', 1749 1757 'wp-reusable-blocks', 1758 'wp-patterns', 1750 1759 ), 1751 1760 'edit-site' => array( … … 1819 1828 'wp-list-reusable-blocks', 1820 1829 'wp-reusable-blocks', 1830 'wp-patterns', 1821 1831 'wp-nux', 1822 1832 'wp-widgets',
Note: See TracChangeset
for help on using the changeset viewer.