PluginProbe
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN / 1.3.2
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN v1.3.2
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 1.1.5 1.1.6 1.1.7 1.1.8 1.2.0 All 28 releases
← All changes | includes/modules/Database/DatabaseModule.php +7 -6 1.1.61.3.2 View file →
@@ -26,11 +26,11 @@
26 26 public const VERSION = '1.0.0';
27 27
28 28 public function ui_metadata(): array {
29 29 return array(
30 - 'label' => 'Database',
30 + 'label' => __( 'Database', 'xspeed' ),
31 31 'icon' => 'Trash2',
32 - 'description' => 'Scan + clean WordPress bloat (revisions, spam, transients, orphan meta) and optimize tables.',
32 + 'description' => __( 'Scan + clean WordPress bloat (revisions, spam, transients, orphan meta) and optimize tables.', 'xspeed' ),
33 33 'custom_panel' => 'DatabaseCleanerPanel',
34 34 );
35 35 }
36 36
@@ -45,17 +45,17 @@
45 45 'hourly' => 'Hourly',
46 46 'daily' => 'Daily',
47 47 'weekly' => 'Weekly',
48 48 ),
49 - 'label' => 'Auto-Cleanup Schedule',
50 - 'description' => 'How often to run cleanup automatically. Manual means cleanup only runs when you press the button.',
49 + 'label' => __( 'Auto-Cleanup Schedule', 'xspeed' ),
50 + 'description' => __( 'How often to run cleanup automatically. Manual means cleanup only runs when you press the button.', 'xspeed' ),
51 51 ),
52 52 'included_types' => array(
53 53 'type' => 'list',
54 54 'default' => array(),
55 55 'item_type' => 'string',
56 - 'label' => 'Auto-Cleanup Types',
57 - 'description' => 'Which cleanup categories run on the schedule above. Leave empty to keep auto-cleanup disabled even if a schedule is set.',
56 + 'label' => __( 'Auto-Cleanup Types', 'xspeed' ),
57 + 'description' => __( 'Which cleanup categories run on the schedule above. Leave empty to keep auto-cleanup disabled even if a schedule is set.', 'xspeed' ),
58 58 ),
59 59 );
60 60 }
61 61
@@ -89,8 +89,9 @@
89 89 array(
90 90 'name' => 'xspeed db',
91 91 'callback' => array( $this, 'cli_handler' ),
92 92 'shortdesc' => 'Scan or clean WordPress bloat. Use --types=a,b to clean specific categories.',
93 + 'ai_hint' => 'Find and remove database bloat (post revisions, spam comments, expired transients, orphaned metadata). Always `scan` first to see what would go; `clean` is destructive and requires confirmation.',
93 94 'synopsis' => array(
94 95 array(
95 96 'type' => 'positional',
96 97 'name' => 'action',