Changeset 56457 for trunk/src/wp-includes/global-styles-and-settings.php
- Timestamp:
- 08/24/2023 07:57:15 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/global-styles-and-settings.php
r56413 r56457 540 540 if ( $has_selectors ) { 541 541 // Look for selector under `feature.root`. 542 $path = array _merge( $target, array( 'root' ));542 $path = array( current( $target ), 'root' ); 543 543 $feature_selector = _wp_array_get( $block_type->selectors, $path, null ); 544 544 … … 554 554 555 555 // Try getting old experimental supports selector value. 556 $path = array _merge( $target, array( '__experimentalSelector' ));556 $path = array( current( $target ), '__experimentalSelector' ); 557 557 $feature_selector = _wp_array_get( $block_type->supports, $path, null ); 558 558
Note: See TracChangeset
for help on using the changeset viewer.