Changeset 48537 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 07/21/2020 03:36:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r48396 r48537 1464 1464 ), 1465 1465 'block-library' => array(), 1466 'block-directory' => array(), 1466 1467 'components' => array(), 1467 1468 'edit-post' => array( … … 1528 1529 'wp-block-editor', 1529 1530 'wp-block-library', 1531 'wp-block-directory', 1530 1532 'wp-components', 1531 1533 'wp-edit-post', … … 2270 2272 wp_enqueue_script( 'wp-block-styles' ); 2271 2273 } 2274 2275 /** 2276 * Enqueues the assets required for the block directory within the block editor. 2277 * 2278 * @since 5.5.0 2279 */ 2280 function wp_enqueue_editor_block_directory_assets() { 2281 wp_enqueue_script( 'wp-block-directory' ); 2282 wp_enqueue_style( 'wp-block-directory' ); 2283 }
Note: See TracChangeset
for help on using the changeset viewer.