Changeset 56382 for trunk/src/wp-includes/block-supports/position.php
- Timestamp:
- 08/10/2023 04:47:00 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/position.php
r55286 r56382 16 16 */ 17 17 function wp_register_position_support( $block_type ) { 18 $has_position_support = block_has_support( $block_type, array( 'position' ), false );18 $has_position_support = block_has_support( $block_type, 'position', false ); 19 19 20 20 // Set up attributes and styles within that if needed. … … 42 42 function wp_render_position_support( $block_content, $block ) { 43 43 $block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] ); 44 $has_position_support = block_has_support( $block_type, array( 'position' ), false );44 $has_position_support = block_has_support( $block_type, 'position', false ); 45 45 46 46 if (
Note: See TracChangeset
for help on using the changeset viewer.