进行了一些小修复

This commit is contained in:
2026-08-26 18:25:42 +08:00
parent 7c0c21e984
commit ee4e599f2d
13 changed files with 496 additions and 75 deletions
+3
View File
@@ -229,6 +229,9 @@ trait FrontSubmitPay {
'url' => $url,
'type' => $attachment_id > 0 ? 'direct' : 'external',
'extract_code' => sanitize_text_field((string) ($row['extract_code'] ?? '')),
'copy_key' => sanitize_text_field((string) ($row['copy_key'] ?? '')),
'copy_val' => sanitize_text_field((string) ($row['copy_val'] ?? '')),
'class' => sanitize_key((string) ($row['class'] ?? '')),
];
}
return DomainModel::sanitize_downloads($out);