Skip to content

Commit bacf82a

Browse files
fix(customizer): align Kirki font settings access
Agent-Logs-Url: https://github.com/helsingborg-stad/Municipio/sessions/a7976a2b-1549-4ac8-9373-c80188045b78 Co-authored-by: sebastianthulin <[email protected]>
1 parent 5180dfb commit bacf82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/Customizer/Fonts/FontChoices.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static function getGoogleFontToggleChoices(): array
5555
*/
5656
public static function getEnabledGoogleFonts(): array
5757
{
58-
$enabledFonts = Kirki::get_option(FontCatalog::GOOGLE_FONTS_SETTING, []);
58+
$enabledFonts = \Kirki\Compatibility\Kirki::get_option(FontCatalog::GOOGLE_FONTS_SETTING, []);
5959
$enabledFonts = is_array($enabledFonts) ? $enabledFonts : [];
6060

6161
foreach (FontSettings::getSelectedFontFamilies() as $fontFamily) {

0 commit comments

Comments
 (0)