From 6e18086efa90ba23d7a5ce2d9b0dc6ffc9a4894d Mon Sep 17 00:00:00 2001 From: ramonjd Date: Fri, 27 May 2022 15:52:04 +1000 Subject: [PATCH] Remove unused var --- packages/style-engine/class-wp-style-engine.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/style-engine/class-wp-style-engine.php b/packages/style-engine/class-wp-style-engine.php index c0919f43fd714d..9fea7fbb8eb7f6 100644 --- a/packages/style-engine/class-wp-style-engine.php +++ b/packages/style-engine/class-wp-style-engine.php @@ -255,10 +255,9 @@ public function generate( $block_styles, $options ) { return null; } - $css_rules = array(); - $classnames = array(); - $should_css_vars_from_presets = isset( $options['css_vars'] ) && true === $options['css_vars']; - $should_enqueue_block_support_styles = isset( $options['enqueue_block_support_styles'] ) && true === $options['enqueue_block_support_styles']; + $css_rules = array(); + $classnames = array(); + $should_css_vars_from_presets = isset( $options['css_vars'] ) && true === $options['css_vars']; // Collect CSS and classnames. foreach ( self::BLOCK_STYLE_DEFINITIONS_METADATA as $definition_group ) {