| @@ -1,4 +1,7 @@ | ||
| 1 | 1 | <?php |
| 2 | + | |
| 2 | 3 | $id = wp_unique_id( 'bBlocksTextPath-' ); |
| 4 | +$attributes = BBlocks\Inc\Sanitize::attributes( $attributes ); | |
| 5 | + | |
| 3 | 6 | ?> |
| 4 | 7 | <div <?php echo get_block_wrapper_attributes(); ?> id='<?php echo esc_attr( $id ); ?>' data-attributes='<?php echo esc_attr( wp_json_encode( $attributes ) ); ?>'></div> |