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:
co-authored by
Claude Sonnet 5.5
parent
71c2e03c9b
commit
c4ee195392
@@ -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)),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user