
外掛標籤
開發者團隊
原文外掛簡介
Altaris Cleaner is a free WordPress plugin that safely detects and removes unnecessary database leftovers.
When you remove a plugin, WordPress only deletes the files. The database records — options, post meta, and custom tables — remain behind. Altaris Cleaner finds them and cleans them up.
Features
Orphan Post Meta Scanner — Finds meta records belonging to deleted posts
Orphan Options Scanner — Detects wp_options records not belonging to any active plugin
Transient Cleaner — Removes expired transients with one click
Revision Cleaner — Lists and removes old post revisions (30/60/90 days)
Orphan Table Scanner — Detects custom tables not belonging to any active plugin
Snapshot-Based Confidence System — Rates each orphan table as high/medium/low risk using snapshot comparison
Code Analysis Engine — Scans PHP source code to extract DB fingerprints and compare with actual database
Theme Remnant Scanner — Detects leftover options from removed or switched themes
Custom Prefix Scanner — Scan the database for any user-defined option prefix
Reverse Scan — Finds DB records that exist but are not referenced in any code
Clean Uninstall — Removes DB leftovers when uninstalling a plugin
SQL Export — Download a .sql backup before deleting any records or tables
Snapshot System — Tracks plugin changes to detect leftover data
Simulation Mode — Preview what would be deleted before actually deleting
Undo — Restore deleted options within 24 hours
Action Log — Every cleanup action is logged with timestamp and user
Code Analysis Engine (New in 1.0.0)
The Code Analysis engine is a unique feature not found in any other WordPress plugin. It scans theme and plugin PHP files to extract database fingerprints — every option, post type, post meta, user meta, transient, widget, custom table, shortcode, cron job, and taxonomy registered in the code.
It then compares these fingerprints with the actual database to identify:
In use — Key exists in both code and database
Not in use — Key exists in database but not in code (remnant)
Removed sources — Theme/plugin was deleted but its fingerprint is saved, so remnants can still be detected
The engine supports 13 scan categories and detects dynamic keys like get_option("prefix_{$id}").
How the Snapshot System Works
When Altaris Cleaner is activated, it takes a snapshot of all wp_options keys and database tables. When a plugin is later removed, the snapshot comparison reveals exactly which options and tables were left behind.
The Orphan Table Scanner uses this data to show a confidence badge for each table:
Snapshot match (red) — Table existed at snapshot time; its plugin may have been removed
New table (yellow) — Table appeared after the snapshot; origin unknown
Unknown (blue) — No snapshot available or no prefix match; inspect carefully
Security
WP core options and tables are never touched
Every action requires nonce + capability check
Mandatory preview before any deletion
SQL backup option before every delete operation
WordPress-style modal confirmation dialogs
Batch processing (max 1000 records per request)
realpath() protection against path traversal
Supported Languages
Turkish (default), English, German, French, Spanish
External Services
This plugin connects to altaris.com.tr to fetch the Altaris plugin list displayed on the Plugins tab. This request is made only when that admin page is visited. No personal user data is transmitted.
Service provider: Altaris
Website: https://altaris.com.tr
Terms of Use: https://altaris.com.tr/kullanim-kosullari/
Privacy Policy: https://altaris.com.tr/gizlilik-politikasi/
