The baseline is the list of fingerprints (sha256 hashes) of every file in your scan targets, recorded as the trusted state. When you change files yourself (a theme update, a deployment or edits), the File integrity check reports them as added, changed or deleted until you approve the new state.
Steps
- Run a scan so that the latest files are recorded. Approval uses the file state recorded by the last scan, so scan first, then approve.
- Check that the reported files are the ones you changed.
- Approve the current state. The changes are marked as resolved and are no longer reported.
Do not approve changes you do not recognize. They may be signs of tampering; check the findings first.
Where to approve
- The notice shown on Keep It Peace screens when files differ from the baseline: Approve these changes (or Review changes first).
- Settings → General → File baseline: Approve current state for one target, or Approve all targets.
- WP-CLI, for example in a deployment script:
wp keep-it-peace scan --no-notify && wp keep-it-peace baseline approve --all --yes
To approve one target only, use --scope=<scope>, for example theme:twentytwentyfive, plugin:my-plugin or path:<id>. wp keep-it-peace targets lists the scopes.