| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | $prefix = 'b-blocks-one-page-navigation'; |
| 4 | 4 | $id = wp_unique_id( 'bBlocksOnePageNavigation-' ); |
| 5 | - | |
| 5 | +$attributes = BBlocks\Inc\Sanitize::attributes( $attributes ); | |
| 6 | 6 | $planClass = BBlocks\Inc\Utils::isPro() ? 'pro' : 'free'; |
| 7 | 7 | |
| 8 | 8 | $layout = isset( $attributes['layout'] ) && is_array( $attributes['layout'] ) ? $attributes['layout'] : []; |
| 9 | 9 | $desktop = isset( $layout['desktop'] ) && is_array( $layout['desktop'] ) ? $layout['desktop'] : []; |