PluginProbe
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN / 1.3.7
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN v1.3.7
1.3.7 1.3.6 1.3.5 1.3.4 1.3.3 1.3.2 1.3.1 1.3.0 1.2.4 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 All 33 releases
← All changes | includes/modules/Fonts/FontsModule.php +6 -5 1.3.4 → 1.3.7 View file →
@@ -33,9 +33,10 @@
33 33 public function ui_metadata(): array {
34 34 return array(
35 35 'label' => __( 'Fonts', 'xspeed' ),
36 36 'icon' => 'Type',
37 - 'description' => __( 'Stop web fonts from blocking text. Adds display=swap to Google Fonts and preloads the fonts you mark critical.', 'xspeed' ),
37 + 'description' => __( 'Shows text right away while web fonts load, and preloads key fonts.', 'xspeed' ),
38 + 'group' => 'performance',
38 39 );
39 40 }
40 41
41 42 public function settings_schema(): array {
@@ -42,17 +43,17 @@
42 43 return array(
43 44 'font_display_swap' => array(
44 45 'type' => 'bool',
45 46 'default' => true,
46 - 'label' => __( 'Add font-display: swap', 'xspeed' ),
47 - 'description' => __( 'Append display=swap to Google Fonts URLs so text renders immediately in a fallback face while the web font loads. Blocking values already on the URL (auto, block) are rewritten to swap; a deliberate non-blocking choice (fallback, optional) is left alone.', 'xspeed' ),
47 + 'label' => __( 'Show text while fonts load', 'xspeed' ),
48 + 'description' => __( 'Google Fonts text shows at once in a standard font, then switches when the web font arrives.', 'xspeed' ),
48 49 ),
49 50 'preload_fonts' => array(
50 51 'type' => 'list',
51 52 'default' => array(),
52 53 'item_type' => 'url',
53 - 'label' => __( 'Preload Font URLs', 'xspeed' ),
54 - 'description' => __( 'One absolute font URL per line (woff2/woff/ttf/otf). Each becomes a <link rel="preload" as="font" crossorigin> in the head so the browser starts downloading before the CSS parses. Use only for fonts that render above the fold.', 'xspeed' ),
54 + 'label' => __( 'Fonts to preload', 'xspeed' ),
55 + 'description' => __( 'One full font file URL per line (woff2, woff, ttf or otf). The browser fetches these first, so list only fonts used at the top of the page.', 'xspeed' ),
55 56 ),
56 57 );
57 58 }
58 59