Changeset 56382 for trunk/src/wp-includes/block-supports/settings.php
- Timestamp:
- 08/10/2023 04:47:00 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/settings.php
r56146 r56382 41 41 // return early if the block doesn't have support for settings. 42 42 $block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] ); 43 if ( ! block_has_support( $block_type, array( '__experimentalSettings' ), false ) ) {43 if ( ! block_has_support( $block_type, '__experimentalSettings', false ) ) { 44 44 return $block_content; 45 45 } … … 78 78 // Return early if the block has not support for descendent block styles. 79 79 $block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] ); 80 if ( ! block_has_support( $block_type, array( '__experimentalSettings' ), false ) ) {80 if ( ! block_has_support( $block_type, '__experimentalSettings', false ) ) { 81 81 return null; 82 82 }
Note: See TracChangeset
for help on using the changeset viewer.