| @@ -1860,15 +1860,15 @@ | ||
| 1860 | 1860 | return in_array( $font, $groups ); |
| 1861 | 1861 | } ); |
| 1862 | 1862 | } |
| 1863 | 1863 | |
| 1864 | - public static function is_google_fonts_enabled(): bool { | |
| 1864 | + public static function is_google_fonts_enabled() : bool { | |
| 1865 | 1865 | if ( null === static::$is_google_fonts_enabled ) { |
| 1866 | 1866 | $default_value = '1'; |
| 1867 | 1867 | |
| 1868 | 1868 | // 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';. | |
| 1869 | + //$is_new_site = Upgrade_Manager::install_compare( '3.10.0', '>=' ); | |
| 1870 | + //$default_value = $is_new_site ? '0' : '1'; | |
| 1871 | 1871 | |
| 1872 | 1872 | $option = get_option( 'elementor_google_font', $default_value ); |
| 1873 | 1873 | |
| 1874 | 1874 | static::$is_google_fonts_enabled = '1' === $option; |