| @@ -449,9 +449,8 @@ | ||
| 449 | 449 | 'Cinzel Decorative' => self::GOOGLE, |
| 450 | 450 | 'Clicker Script' => self::GOOGLE, |
| 451 | 451 | 'Climate Crisis' => self::GOOGLE, |
| 452 | 452 | 'Coda' => self::GOOGLE, |
| 453 | - 'Coda Caption' => self::GOOGLE, | |
| 454 | 453 | 'Codystar' => self::GOOGLE, |
| 455 | 454 | 'Coiny' => self::GOOGLE, |
| 456 | 455 | 'Combo' => self::GOOGLE, |
| 457 | 456 | 'Comfortaa' => self::GOOGLE, |
| @@ -613,9 +612,8 @@ | ||
| 613 | 612 | 'Fraunces' => self::GOOGLE, |
| 614 | 613 | 'Freckle Face' => self::GOOGLE, |
| 615 | 614 | 'Fredericka the Great' => self::GOOGLE, |
| 616 | 615 | 'Fredoka' => self::GOOGLE, |
| 617 | - 'Fredoka One' => self::GOOGLE, | |
| 618 | 616 | 'Freehand' => self::GOOGLE, |
| 619 | 617 | 'Freeman' => self::GOOGLE, |
| 620 | 618 | 'Fresca' => self::GOOGLE, |
| 621 | 619 | 'Frijole' => self::GOOGLE, |
| @@ -639,9 +637,8 @@ | ||
| 639 | 637 | 'Gayathri' => self::GOOGLE, |
| 640 | 638 | 'Gelasio' => self::GOOGLE, |
| 641 | 639 | 'Gemunu Libre' => self::GOOGLE, |
| 642 | 640 | 'Genos' => self::GOOGLE, |
| 643 | - 'Gentium Book Basic' => self::GOOGLE, | |
| 644 | 641 | 'Gentium Book Plus' => self::GOOGLE, |
| 645 | 642 | 'Gentium Plus' => self::GOOGLE, |
| 646 | 643 | 'Geo' => self::GOOGLE, |
| 647 | 644 | 'Geologica' => self::GOOGLE, |
| @@ -817,9 +814,8 @@ | ||
| 817 | 814 | 'Kalam' => self::GOOGLE, |
| 818 | 815 | 'Kalnia' => self::GOOGLE, |
| 819 | 816 | 'Kameron' => self::GOOGLE, |
| 820 | 817 | 'Kanit' => self::GOOGLE, |
| 821 | - 'Kantumruy' => self::GOOGLE, | |
| 822 | 818 | 'Kantumruy Pro' => self::GOOGLE, |
| 823 | 819 | 'Karantina' => self::GOOGLE, |
| 824 | 820 | 'Karla' => self::GOOGLE, |
| 825 | 821 | 'Karma' => self::GOOGLE, |
| @@ -987,9 +983,8 @@ | ||
| 987 | 983 | 'Megrim' => self::GOOGLE, |
| 988 | 984 | 'Meie Script' => self::GOOGLE, |
| 989 | 985 | 'Meow Script' => self::GOOGLE, |
| 990 | 986 | 'Merienda' => self::GOOGLE, |
| 991 | - 'Merienda One' => self::GOOGLE, | |
| 992 | 987 | 'Merriweather' => self::GOOGLE, |
| 993 | 988 | 'Merriweather Sans' => self::GOOGLE, |
| 994 | 989 | 'Metal' => self::GOOGLE, |
| 995 | 990 | 'Metal Mania' => self::GOOGLE, |
| @@ -1175,9 +1170,8 @@ | ||
| 1175 | 1170 | 'Noto Sans Mono' => self::GOOGLE, |
| 1176 | 1171 | 'Noto Sans Mro' => self::GOOGLE, |
| 1177 | 1172 | 'Noto Sans Multani' => self::GOOGLE, |
| 1178 | 1173 | 'Noto Sans Myanmar' => self::GOOGLE, |
| 1179 | - 'Noto Sans N Ko' => self::GOOGLE, | |
| 1180 | 1174 | 'Noto Sans NKo' => self::GOOGLE, |
| 1181 | 1175 | 'Noto Sans NKo Unjoined' => self::GOOGLE, |
| 1182 | 1176 | 'Noto Sans Nabataean' => self::GOOGLE, |
| 1183 | 1177 | 'Noto Sans Nag Mundari' => self::GOOGLE, |
| @@ -1271,9 +1265,8 @@ | ||
| 1271 | 1265 | 'Noto Serif Makasar' => self::GOOGLE, |
| 1272 | 1266 | 'Noto Serif Malayalam' => self::GOOGLE, |
| 1273 | 1267 | 'Noto Serif Myanmar' => self::GOOGLE, |
| 1274 | 1268 | 'Noto Serif NP Hmong' => self::GOOGLE, |
| 1275 | - 'Noto Serif Nyiakeng Puachue Hmong' => self::GOOGLE, | |
| 1276 | 1269 | 'Noto Serif Old Uyghur' => self::GOOGLE, |
| 1277 | 1270 | 'Noto Serif Oriya' => self::GOOGLE, |
| 1278 | 1271 | 'Noto Serif Ottoman Siyaq' => self::GOOGLE, |
| 1279 | 1272 | 'Noto Serif SC' => self::GOOGLE, |
| @@ -1617,11 +1610,9 @@ | ||
| 1617 | 1610 | 'Sora' => self::GOOGLE, |
| 1618 | 1611 | 'Sorts Mill Goudy' => self::GOOGLE, |
| 1619 | 1612 | 'Source Code Pro' => self::GOOGLE, |
| 1620 | 1613 | 'Source Sans 3' => self::GOOGLE, |
| 1621 | - 'Source Sans Pro' => self::GOOGLE, | |
| 1622 | 1614 | 'Source Serif 4' => self::GOOGLE, |
| 1623 | - 'Source Serif Pro' => self::GOOGLE, | |
| 1624 | 1615 | 'Space Grotesk' => self::GOOGLE, |
| 1625 | 1616 | 'Space Mono' => self::GOOGLE, |
| 1626 | 1617 | 'Special Elite' => self::GOOGLE, |
| 1627 | 1618 | 'Spectral' => self::GOOGLE, |
| @@ -1860,15 +1851,15 @@ | ||
| 1860 | 1851 | return in_array( $font, $groups ); |
| 1861 | 1852 | } ); |
| 1862 | 1853 | } |
| 1863 | 1854 | |
| 1864 | - public static function is_google_fonts_enabled(): bool { | |
| 1855 | + public static function is_google_fonts_enabled() : bool { | |
| 1865 | 1856 | if ( null === static::$is_google_fonts_enabled ) { |
| 1866 | 1857 | $default_value = '1'; |
| 1867 | 1858 | |
| 1868 | 1859 | // TODO: For future use, using for new installs. |
| 1869 | - // $is_new_site = Upgrade_Manager::install_compare( '3.10.0', '>=' ); | |
| 1870 | - // $default_value = $is_new_site ? '0' : '1';. | |
| 1860 | + //$is_new_site = Upgrade_Manager::install_compare( '3.10.0', '>=' ); | |
| 1861 | + //$default_value = $is_new_site ? '0' : '1'; | |
| 1871 | 1862 | |
| 1872 | 1863 | $option = get_option( 'elementor_google_font', $default_value ); |
| 1873 | 1864 | |
| 1874 | 1865 | static::$is_google_fonts_enabled = '1' === $option; |