Completed
Push — develop ( c5c7b0...c530db )
by Aristeides
03:07
created
modules/css/field/class-kirki-output-field-typography.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,14 +47,14 @@  discard block
 block discarded – undo
47 47
 		);
48 48
 
49 49
 		foreach ( $properties as $property ) {
50
-			if ( ! isset( $value[ $property ] ) || '' === $value[ $property ] ) {
50
+			if ( ! isset( $value[$property] ) || '' === $value[$property] ) {
51 51
 				continue;
52 52
 			}
53 53
 			if ( isset( $output['choice'] ) && $output['choice'] !== $property ) {
54 54
 				continue;
55 55
 			}
56 56
 
57
-			$property_value = $this->process_property_value( $property, $value[ $property ] );
57
+			$property_value = $this->process_property_value( $property, $value[$property] );
58 58
 			if ( 'font-family' === $property ) {
59 59
 				$value['font-backup'] = ( isset( $value['font-backup'] ) ) ? $value['font-backup'] : '';
60 60
 				$property_value = $this->process_property_value( $property, array(
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 				) );
64 64
 			}
65 65
 			$property_value = ( is_array( $property_value ) && isset( $property_value[0] ) ) ? $property_value[0] : $property_value;
66
-			$this->styles[ $output['media_query'] ][ $output['element'] ][ $property ] = $output['prefix'] . $property_value . $output['suffix'];
66
+			$this->styles[$output['media_query']][$output['element']][$property] = $output['prefix'] . $property_value . $output['suffix'];
67 67
 		}
68 68
 	}
69 69
 }
Please login to merge, or discard this patch.