|
@@ -44,14 +44,14 @@ discard block |
|
|
block discarded – undo |
|
44
|
44
|
); |
|
45
|
45
|
|
|
46
|
46
|
foreach ( $properties as $property ) { |
|
47
|
|
- if ( ! isset( $value[ $property ] ) || ! $value[ $property ] ) { |
|
|
47
|
+ if ( ! isset( $value[$property] ) || ! $value[$property] ) { |
|
48
|
48
|
continue; |
|
49
|
49
|
} |
|
50
|
50
|
if ( isset( $output['choice'] ) && $output['choice'] !== $property ) { |
|
51
|
51
|
continue; |
|
52
|
52
|
} |
|
53
|
53
|
|
|
54
|
|
- $property_value = $this->process_property_value( $property, $value[ $property ] ); |
|
|
54
|
+ $property_value = $this->process_property_value( $property, $value[$property] ); |
|
55
|
55
|
if ( 'font-family' === $property ) { |
|
56
|
56
|
$value['font-backup'] = ( isset( $value['font-backup'] ) ) ? $value['font-backup'] : ''; |
|
57
|
57
|
$property_value = $this->process_property_value( $property, array( |
|
@@ -61,7 +61,7 @@ discard block |
|
|
block discarded – undo |
|
61
|
61
|
} |
|
62
|
62
|
$property = ( isset( $output['choice'] ) && isset( $output['property'] ) ) ? $output['property'] : $property; |
|
63
|
63
|
$property_value = ( is_array( $property_value ) && isset( $property_value[0] ) ) ? $property_value[0] : $property_value; |
|
64
|
|
- $this->styles[ $output['media_query'] ][ $output['element'] ][ $property ] = $output['prefix'] . $property_value . $output['suffix']; |
|
|
64
|
+ $this->styles[$output['media_query']][$output['element']][$property] = $output['prefix'] . $property_value . $output['suffix']; |
|
65
|
65
|
} |
|
66
|
66
|
} |
|
67
|
67
|
} |
Please login to merge, or discard this patch.