File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 44
55namespace Municipio \Customizer \Fonts ;
66
7- use Kirki \Compatibility \Kirki ;
8-
97/**
108 * Reads managed and legacy font settings.
119 */
@@ -32,7 +30,7 @@ class FontSettings
3230 */
3331 public static function getUploadedFontNames (): array
3432 {
35- $ uploadedFonts = Kirki::get_option (FontCatalog::UPLOADED_FONTS_SETTING , []);
33+ $ uploadedFonts = \ Kirki \ Compatibility \ Kirki::get_option (FontCatalog::UPLOADED_FONTS_SETTING , []);
3634
3735 if (!is_array ($ uploadedFonts )) {
3836 return [];
@@ -61,7 +59,7 @@ public static function getSelectedFontFamilies(): array
6159 $ fontFamilies = [];
6260
6361 foreach (self ::FONT_SETTING_KEYS as $ settingKey ) {
64- $ value = Kirki::get_option ($ settingKey , []);
62+ $ value = \ Kirki \ Compatibility \ Kirki::get_option ($ settingKey , []);
6563
6664 if (!is_array ($ value ) || !array_key_exists ('font-family ' , $ value ) || $ value ['font-family ' ] === '' ) {
6765 continue ;
You can’t perform that action at this time.
0 commit comments