Commit e2c8a60
Fix admin-only hook whitelist: bypass group_and_add_finding flush
The grouping function's flush uses the caller's severity args, which
overwrote the INFO downgrade back to HIGH. Use add_json_finding directly
for whitelisted hooks to preserve the INFO severity.
Verified: credit-registry-forms.php:48 now correctly reports as INFO.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e04239c commit e2c8a60
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4268 | 4268 | | |
4269 | 4269 | | |
4270 | 4270 | | |
4271 | | - | |
| 4271 | + | |
| 4272 | + | |
| 4273 | + | |
4272 | 4274 | | |
4273 | | - | |
| 4275 | + | |
4274 | 4276 | | |
4275 | 4277 | | |
4276 | 4278 | | |
| |||
0 commit comments