You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// $content .= $this->generate_item_header('Fonts and files', false);
563
+
$content .= $this->generate_item_header('Fonts and files', false);
564
564
565
-
// $description =
566
-
// '<h4>' .
567
-
// __('Serve Google fonts locally', self::$maxi_text_domain) .
568
-
// '</h4>';
569
-
// $description .=
570
-
// '<p>' .
571
-
// __(
572
-
// ' Local storage: Download, store and serve font files from a WordPress directory on your site. This method blocks Google’s tracking for web visitors. It can improve or degrade performance, depending on hosting quality or resource usage. Please test and monitor carefully. Unused font files are removed periodically to conserve space.',
573
-
// self::$maxi_text_domain,
574
-
// ) .
575
-
// '</p>';
576
-
// $description .=
577
-
// '<p>' .
578
-
// __(
579
-
// 'Google servers: Serve Google font files directly from Google’s servers. It may impact
580
-
// privacy (GDPR) if a web visitor’s IP address is revealed to Google.',
// __('Size of the local fonts:', 'maxi-blocks') .
594
-
// ' ' .
595
-
// $font_uploads_dir_size .
596
-
// __('MB', 'maxi-blocks') .
597
-
// '</p>';
598
-
599
-
// if (!(bool) get_option('local_fonts')) {
600
-
// update_option('local_fonts_uploaded', false);
601
-
// $description =
602
-
// '<h4>' .
603
-
// __('Remove local fonts', 'maxi-blocks') .
604
-
// '</h4>';
605
-
// $content .= $this->generate_setting(
606
-
// $description,
607
-
// 'remove_local_fonts',
608
-
// $this->remove_local_fonts(),
609
-
// );
610
-
// }
611
-
// }
565
+
$description =
566
+
'<h4>' .
567
+
__('Serve Google fonts locally', self::$maxi_text_domain) .
568
+
'</h4>';
569
+
$description .=
570
+
'<p>' .
571
+
__(
572
+
' Local storage: Download, store and serve font files from a WordPress directory on your site. This method blocks Google’s tracking for web visitors. It can improve or degrade performance, depending on hosting quality or resource usage. Please test and monitor carefully. Unused font files are removed periodically to conserve space.',
573
+
self::$maxi_text_domain,
574
+
) .
575
+
'</p>';
576
+
$description .=
577
+
'<p>' .
578
+
__(
579
+
'Google servers: Serve Google font files directly from Google’s servers. It may impact
580
+
privacy (GDPR) if a web visitor’s IP address is revealed to Google.',
0 commit comments