进行了一些小修复
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user