WP Manifestindependent plugin directory
manifest / developer / wp-database-sanity-check

WP Database Sanity Check

Audits core WordPress database tables for orphaned rows, broken relationships and quietly wrong counts. Read only. No fixes. I am not your YOLO button. i do mean this..

by TABARC-Code · github.com/tabarc-code/wp-database-sanity-check · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/tabarc-code/wp-database-sanity-check/archive/refs/heads/main.zip

TABARC-Code Icon

WP Database Sanity Check

WordPress does not enforce database integrity. It never has. This plugin exists to show me the consequences of that, calmly, without trying to fix everything automatically.

What it does

Adds: Tools DB Sanity Check It audits core tables and reports: Orphaned postmeta Attachments and revisions pointing at missing parents Orphaned commentmeta Comments attached to missing posts Broken taxonomy relationships Term count mismatches Exports JSON so I can review or hand it to someone else.

What it does not do

No deletion No repair No optimisation No magic It shows facts. I decide what to do next.

Notes

Cleaning database rows is destructive. Even when rows look unused, they might be referenced indirectly by plugins or custom code. Always back up. Prefer staging. Delete in small batches.

License

GPL-3.0-or-later. See LICENSE.