fix(audit L5): Sperre verwirft den Options-Cache (alloptions), damit Inventar und design_rev unter der Sperre den gespeicherten Stand lesen

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Jan-Niclas Loosen
2026-10-20 00:13:08 +02:00
co-authored by Claude Sonnet 5.5
parent 71c2e03c9b
commit c4ee195392
3 changed files with 36 additions and 1 deletions
+1
View File
@@ -33,6 +33,7 @@ abstract class TestCase extends BaseTestCase
'absint' => static fn ($value): int => abs((int) $value),
'wp_slash' => static fn ($value) => $value,
'wp_unslash' => static fn ($value) => $value,
'wp_cache_delete' => true,
'sanitize_text_field' => static fn ($value): string => trim(strip_tags((string) $value)),
]);