| @@ -1,7 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | $id = wp_unique_id( 'bBlocksIconBox-' ); |
| 3 | 3 | $planClass = BBlocks\Inc\Utils::isPro() ? 'pro' : 'free'; |
| 4 | + | |
| 5 | +$attributes = BBlocks\Inc\Sanitize::attributes( $attributes ); | |
| 4 | 6 | ?> |
| 5 | 7 | <div |
| 6 | 8 | <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- get_block_wrapper_attributes() is properly escaped ?> |
| 7 | 9 | <?php echo get_block_wrapper_attributes( [ 'class' => $planClass ] ); ?> |