|
@@ -35,7 +35,7 @@ discard block |
|
|
block discarded – undo |
|
35
|
35
|
// Take care of font-families. |
|
36
|
36
|
if ( isset( $value['font-family'] ) && ! empty( $value['font-family'] ) ) { |
|
37
|
37
|
$output['media_query'] = ( isset( $output['media_query'] ) ) ? $output['media_query'] : 'global'; |
|
38
|
|
- $this->styles[ $output['media_query'] ][ $output['element'] ]['font-family'] = $output['prefix'] . $this->process_property_value( 'font-family', $value['font-family'] ) . $output['suffix']; |
|
|
38
|
+ $this->styles[$output['media_query']][$output['element']]['font-family'] = $output['prefix'] . $this->process_property_value( 'font-family', $value['font-family'] ) . $output['suffix']; |
|
39
|
39
|
} |
|
40
|
40
|
|
|
41
|
41
|
$properties = array( |
|
@@ -55,10 +55,10 @@ discard block |
|
|
block discarded – undo |
|
55
|
55
|
$value['font-family'] .= ', ' . $value['font-backup']; |
|
56
|
56
|
} |
|
57
|
57
|
foreach ( $properties as $property ) { |
|
58
|
|
- if ( ! isset( $value[ $property ] ) || '' === $value[ $property ] ) { |
|
|
58
|
+ if ( ! isset( $value[$property] ) || '' === $value[$property] ) { |
|
59
|
59
|
continue; |
|
60
|
60
|
} |
|
61
|
|
- $this->styles[ $output['media_query'] ][ $output['element'] ][ $property ] = $output['prefix'] . $value[ $property ] . $output['suffix']; |
|
|
61
|
+ $this->styles[$output['media_query']][$output['element']][$property] = $output['prefix'] . $value[$property] . $output['suffix']; |
|
62
|
62
|
} |
|
63
|
63
|
} |
|
64
|
64
|
} |
Please login to merge, or discard this patch.