- Timestamp:
- 08/10/2023 04:47:00 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/generated-classname.php
r54874 r56382 51 51 function wp_apply_generated_classname_support( $block_type ) { 52 52 $attributes = array(); 53 $has_generated_classname_support = block_has_support( $block_type, array( 'className' ), true );53 $has_generated_classname_support = block_has_support( $block_type, 'className', true ); 54 54 if ( $has_generated_classname_support ) { 55 55 $block_classname = wp_get_block_default_classname( $block_type->name );
Note: See TracChangeset
for help on using the changeset viewer.