| 开发者 | lightningbyrd |
|---|---|
| 更新时间 | 2026年9月15日 03:00 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
_wc_session_ leftovers, when WooCommerce is present.Every site running a background queue logs everything it does, and those tables grow because completed work is kept for weeks and failed work is kept forever. Add expired sessions, expired transients that never get collected, trash, spam, and a handful of plugins autoloading megabytes of options into memory on every page view, and the site gets slower every month while backups balloon.
Dry run is on by default, so the first thing you get is a report rather than a deletion. Beyond that, the hard rules above hold regardless of settings: nothing inside its retention window, nothing pending or in-process, and no commerce data, ever.
Autoloaded options are read into memory on every request, so a few megabytes there taxes every page view for every visitor. The advisor lists options over 50 KB and lets you stop autoloading them. This is functionally safe: the option still exists and get_option() still returns it. WordPress simply stops preloading it. Every change is recorded with its original value and is one-click reversible, and core-critical options are never offered.
Deleting rows does not shrink the file on disk until OPTIMIZE TABLE runs. InnoDB reuses the freed space internally either way, and queries get faster immediately. Enable the OPTIMIZE TABLE pass only if you have a low-traffic window, because it briefly locks tables while reclaiming disk.
No. It is sharper on a store, because that is where the background queue works hardest, but the queue, transient, trash and autoload cleaners are useful on any WordPress site.
No. There are no outbound HTTP requests anywhere in the plugin.
LB_FWEIGHT_REMOVE_ALL_DATA in wp-config.php, it is now LB_FSWEEP_REMOVE_ALL_DATA.