- Timestamp:
- 11/12/2020 08:18:08 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/custom-classname.php
r49226 r49580 16 16 $has_custom_classname_support = true; 17 17 if ( property_exists( $block_type, 'supports' ) ) { 18 $has_custom_classname_support = wp_array_get( $block_type->supports, array( 'customClassName' ), true );18 $has_custom_classname_support = _wp_array_get( $block_type->supports, array( 'customClassName' ), true ); 19 19 } 20 20 if ( $has_custom_classname_support ) { … … 45 45 $attributes = array(); 46 46 if ( property_exists( $block_type, 'supports' ) ) { 47 $has_custom_classname_support = wp_array_get( $block_type->supports, array( 'customClassName' ), true );47 $has_custom_classname_support = _wp_array_get( $block_type->supports, array( 'customClassName' ), true ); 48 48 } 49 49 if ( $has_custom_classname_support ) {
Note: See TracChangeset
for help on using the changeset viewer.