fix(identity): complete native certification review flow

This commit is contained in:
kate522 committed 2026-07-29 12:25:58 +08:00
1 parent 32658be87d
commit 2dfaa10798
16 files changed
+571 -1167

No files matched your search

+3 -1
View File
@@ -394,6 +394,8 @@ class SchemaProvider {
switch ($type) {
case 'html':
return wp_kses_post((string) $value);
case 'textarea':
return sanitize_textarea_field((string) $value);
case 'code':
return is_string($value) ? wp_unslash($value) : '';
case 'url':
@@ -433,7 +435,7 @@ class SchemaProvider {
'switch' => 'bool',
'input' => 'string',
'text' => 'string',
'textarea' => 'string',
'textarea' => 'textarea',
'number' => 'int',
'slider' => 'int',
'select' => 'string',