Changeset 54155 for trunk/src/wp-includes/block-editor.php
- Timestamp:
- 09/14/2022 10:50:26 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-editor.php
r53419 r54155 325 325 326 326 foreach ( $block_registry->get_all_registered() as $block_type ) { 327 if ( ! empty( $block_type->style ) ) { 328 $style_handles[] = $block_type->style; 329 } 330 331 if ( ! empty( $block_type->editor_style ) ) { 332 $style_handles[] = $block_type->editor_style; 333 } 334 335 if ( ! empty( $block_type->script ) ) { 336 $script_handles[] = $block_type->script; 337 } 327 $style_handles = array_merge( 328 $style_handles, 329 $block_type->style_handles, 330 $block_type->editor_style_handles 331 ); 332 333 $script_handles = array_merge( 334 $script_handles, 335 $block_type->script_handles 336 ); 338 337 } 339 338
Note: See TracChangeset
for help on using the changeset viewer.