Changeset 11291
- Timestamp:
- 10/22/2021 06:36:17 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-import.php
r11238 r11291 637 637 } 638 638 } 639 640 // Remove any core blocks from the block list. 641 $blocks = array_filter( 642 $blocks, 643 function( $block_name ) { 644 return 0 !== strpos( $block_name, 'core/' ); 645 }, 646 ARRAY_FILTER_USE_KEY 647 ); 639 648 640 649 // Filter the blocks list so that the parent block is first.
Note: See TracChangeset
for help on using the changeset viewer.