# WP Guard — Review Checklist Structured walk for review mode. Lead with findings, not summary. Cite file:line. Prioritize: security → silent breakage → i18n → performance. ## Contents - Pass 1: Security sweep - Pass 2: API and hook correctness - Pass 3: i18n - Pass 4: Performance - Pass 5: Packaging hygiene - Reporting ## Pass 1: Security sweep (must fix) Grep-driven; check every hit: - `echo`, `print`, `` — every variable behind `prepare()` placeholders? `esc_like()` for LIKE? (Rule 4) - `$_FILES` — handled via `wp_handle_upload()` with type allowlist? - Secrets: API keys hardcoded? Logged? In autoloaded options when they belong in constants/env? ## Pass 2: API and hook correctness (should fix) - Every hooked hook and called function exists in supported WP/plugin versions? (Rule 6 — hallucinated hooks fail silently) - Hook timing right? (No front-end work on admin hooks, no early queries, no `init`-heavy work per request) - Core API replacements: curl, raw `