BoltAudit AI: Speed and Performance Optimization for WordPress
Changelog
0.3.0 – 2026-05-11
New: Three destructive cleanup auto-fix actions for the cloud’s guided-fix pipeline
delete_post_revisions — sweeps existing wp_posts revision rows in batches
cleanup_failed_action_scheduler_records — removes failed WooCommerce / AS jobs older than 30 days (and their logs)
truncate_debug_log — empties the WordPress debug.log file in place
New: Partial-completion model on the three destructive actions — each REST call processes up to a bounded chunk (5k–10k rows) within a 25-second wall-clock budget, so it never overruns PHP’s max_execution_time on shared hosting; the cloud surfaces the remaining work via a Continue button
New: Backend collector signal action_scheduler_failed_old_count (failed AS rows older than 30 days), used by the new cloud-side skill that drives the cleanup recommendation
Hardened: cleanup_expired_transients switched from per-row delete_transient() to batched bulk SQL, eliminating the per-call cost spike on sites with tens of thousands of expired transients
Hardened: Strict end-state verification (count === 0) on every destructive cleanup so callers using verify as the completion gate never see a false pass on a partial run
Hardened: Path-traversal guard on truncate_debug_log refuses any WP_DEBUG_LOG outside the WordPress install tree, preventing accidental truncation of system log files
Hardened: Action Scheduler table-existence guard now validates both wp_actionscheduler_actions AND wp_actionscheduler_logs before attempting cleanup, so a partial / corrupted schema no-ops cleanly
0.2.0 – 2026-05-08
New: Public /v2/manifest REST endpoint exposing the plugin’s capability list for dashboard discovery
New: Local Audit summary redesigned as five detail-area previews (frontend, backend, database, infrastructure, environment)
New: Backend layer collectors expanded to cover wave 1–4 data paths, giving AI Audit richer evidence
Improved: Check collectors are multisite-aware and no longer pre-cap administrator enumeration
Improved: TTFB performance endpoint now respects an optional ?url query parameter for single-page audits
Fixed: Namespaced collector edge cases surfaced during PR #37 review