diff --git a/src/Uninstaller.php b/src/Uninstaller.php index 29126c1..8dec63f 100644 --- a/src/Uninstaller.php +++ b/src/Uninstaller.php @@ -38,6 +38,8 @@ final class Uninstaller 'lit_mcp_snapshots_colors', 'lit_mcp_snapshots_variables', 'lit_mcp_snapshots_presets', 'lit_mcp_snapshots_theme_options', 'lit_mcp_lock_divi_options', 'lit_mcp_lock_variables', 'lit_mcp_lock_presets', + // Locks of versions before the shared one (audit L5) may still sit in the table. + 'lit_mcp_lock_colors', 'lit_mcp_lock_theme_options', ]; private const TRANSIENTS = ['lit_mcp_endpoint_check', 'lit_mcp_divi_state']; private const CRON_HOOK = 'lit_mcp_log_cleanup'; diff --git a/tests/Unit/UninstallTest.php b/tests/Unit/UninstallTest.php index 8d05ea6..35b8f71 100644 --- a/tests/Unit/UninstallTest.php +++ b/tests/Unit/UninstallTest.php @@ -59,6 +59,8 @@ final class UninstallTest extends TestCase 'lit_mcp_snapshots_colors', 'lit_mcp_snapshots_variables', 'lit_mcp_snapshots_presets', 'lit_mcp_snapshots_theme_options', DesignLock::option('colors'), DesignLock::option('variables'), DesignLock::option('presets'), + // Locks of versions before the shared one (audit L5) may still sit in the table. + 'lit_mcp_lock_colors', 'lit_mcp_lock_theme_options', ]; self::assertSame(array_merge($own, $own), $deleted); self::assertNotContains('mcp_jwt_secret', $deleted); diff --git a/tests/Unit/UninstallerTest.php b/tests/Unit/UninstallerTest.php index cd73d39..3620196 100644 --- a/tests/Unit/UninstallerTest.php +++ b/tests/Unit/UninstallerTest.php @@ -65,6 +65,8 @@ final class UninstallerTest extends TestCase 'lit_mcp_snapshots_colors', 'lit_mcp_snapshots_variables', 'lit_mcp_snapshots_presets', 'lit_mcp_snapshots_theme_options', DesignLock::option('colors'), DesignLock::option('variables'), DesignLock::option('presets'), + // Locks of versions before the shared one (audit L5) may still sit in the table. + 'lit_mcp_lock_colors', 'lit_mcp_lock_theme_options', ], $deleted );