
The Comprehensive Technical Audit Checklist for Inherited WordPress Codebases
The Reality of Taking Over an Existing WordPress Site
Inheriting an established WordPress codebase from a previous agency or freelancer is rarely straightforward. You often discover outdated plugins, modified core files, bloated database tables, and mysterious snippets injected into functions.php.
Before committing to any new feature development, execute a structured technical audit to isolate liabilities and establish a solid baseline.
Phase 1: Security and Core Integrity Check
- Core Verification: Run
wp core verify-checksumsvia WP-CLI to ensure core files haven't been modified or compromised. - User Privilege Audit: Inspect all accounts in
wp_users. Revoke admin privileges from former agencies, contractors, and inactive staff. Enforce two-factor authentication (2FA). - Environment Audit: Verify PHP version (ensure PHP 8.2+), database engine (InnoDB), active SSL/TLS certificates, and proper directory permissions (
755for folders,644for files).
Phase 2: Plugin and Theme Diagnostics
- Redundant Plugins: Audit the active plugin list. Remove abandoned plugins, duplicate form handlers, and inactive page builder add-ons.
- Child Theme Integrity: Confirm all customizations reside in a dedicated child theme or custom plugin—never directly inside a parent theme that could overwrite changes on update.
- Database Query Weight: Install Query Monitor to inspect database queries, hook execution durations, and slow API calls triggered during request cycles.
Phase 3: Database and Media Sanitization
- Clean orphaned transient records (
_transient_) and expired post revisions fromwp_optionsandwp_posts. - Identify unoptimized, multi-megabyte PNG and TIFF uploads in
wp-content/uploads/and implement automated WebP conversion and responsive scaling.
Need an Expert Codebase Audit?
A comprehensive audit protects your digital investment and prevents catastrophic downtime. If you've inherited a mission-critical platform, review my maintenance solutions or reach out for a full technical evaluation.



