This commit is contained in:
2026-07-02 15:54:39 -06:00
commit 9883323161
17470 changed files with 4470592 additions and 0 deletions
@@ -0,0 +1,19 @@
# Debugging quick routes
## Plugin doesnt load / fatal errors
- Confirm correct plugin main file and header.
- Check PHP error logs and `WP_DEBUG_LOG`.
- If the repo is a site repo, confirm you edited the correct plugin under `wp-content/plugins/`.
## Activation hook surprises
- Hooks must be registered at top-level.
- Activation runs in a special context; avoid assuming other hooks already ran.
## Settings not saving
- Confirm `register_setting()` is called.
- Confirm the option group matches the form.
- Confirm capability checks and nonces.