Completed
Push — develop ( 6aa7e5...4aef82 )
by Aristeides
02:53
created
modules/css/field/class-kirki-output-field-background.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@
 block discarded – undo
34 34
 		);
35 35
 
36 36
 		foreach ( array( 'background-image', 'background-color', 'background-repeat', 'background-position', 'background-size', 'background-attachment' ) as $property ) {
37
-			if ( isset( $value[ $property ] ) && ! empty( $value[ $property ] ) ) {
38
-				$this->styles[ $output['media_query'] ][ $output['element'] ][ $property ] = $output['prefix'] . $this->process_property_value( $property, $value[ $property ] ) . $output['suffix'];
37
+			if ( isset( $value[$property] ) && ! empty( $value[$property] ) ) {
38
+				$this->styles[$output['media_query']][$output['element']][$property] = $output['prefix'] . $this->process_property_value( $property, $value[$property] ) . $output['suffix'];
39 39
 			}
40 40
 		}
41 41
 	}
Please login to merge, or discard this patch.