- Timestamp:
- 08/10/2023 04:47:00 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/custom-classname.php
r54873 r56382 16 16 */ 17 17 function wp_register_custom_classname_support( $block_type ) { 18 $has_custom_classname_support = block_has_support( $block_type, array( 'customClassName' ), true );18 $has_custom_classname_support = block_has_support( $block_type, 'customClassName', true ); 19 19 20 20 if ( $has_custom_classname_support ) { … … 43 43 */ 44 44 function wp_apply_custom_classname_support( $block_type, $block_attributes ) { 45 $has_custom_classname_support = block_has_support( $block_type, array( 'customClassName' ), true );45 $has_custom_classname_support = block_has_support( $block_type, 'customClassName', true ); 46 46 $attributes = array(); 47 47 if ( $has_custom_classname_support ) {
Note: See TracChangeset
for help on using the changeset viewer.