|
@@ -24,13 +24,13 @@ |
|
|
block discarded – undo |
|
24
|
24
|
// Add backup font |
|
25
|
25
|
if ( Kirki_Fonts::is_google_font( $this->value ) ) { |
|
26
|
26
|
|
|
27
|
|
- if ( isset( $google_fonts_array[ $this->value ] ) && isset( $google_fonts_array[ $this->value ]['category'] ) ) { |
|
28
|
|
- if ( isset( $backup_fonts[ $google_fonts_array[ $this->value ]['category'] ] ) ) { |
|
|
27
|
+ if ( isset( $google_fonts_array[$this->value] ) && isset( $google_fonts_array[$this->value]['category'] ) ) { |
|
|
28
|
+ if ( isset( $backup_fonts[$google_fonts_array[$this->value]['category']] ) ) { |
|
29
|
29
|
// Add double quotes if needed |
|
30
|
30
|
if ( false !== strpos( $this->value, ' ' ) && false === strpos( $this->value, '"' ) ) { |
|
31
|
|
- $this->value = '"' . $this->value . '", ' . $backup_fonts[ $google_fonts_array[ $this->value ]['category'] ]; |
|
|
31
|
+ $this->value = '"' . $this->value . '", ' . $backup_fonts[$google_fonts_array[$this->value]['category']]; |
|
32
|
32
|
} else { |
|
33
|
|
- $this->value .= ', ' . $backup_fonts[ $google_fonts_array[ $this->value ]['category'] ]; |
|
|
33
|
+ $this->value .= ', ' . $backup_fonts[$google_fonts_array[$this->value]['category']]; |
|
34
|
34
|
} |
|
35
|
35
|
} |
|
36
|
36
|
} |
Please login to merge, or discard this patch.