进行了一些小修复

This commit is contained in:
kate522 committed 2026-08-26 23:52:23 +08:00
1 parent fff1590a43
commit 02d456b00b
3 files changed
+23 -49

No files matched your search

-2
View File
@@ -175,8 +175,6 @@ class FrontSubmit {
$attachment_id = (int) $attachment_id;
wp_update_post(['ID' => $attachment_id, 'post_author' => $user_id]);
update_post_meta($attachment_id, '_aksrt_front_submit_upload_type', $kind);
update_post_meta($attachment_id, '_aksrt_front_submit_upload_user_id', $user_id);
$url = wp_get_attachment_url($attachment_id);
if (!$url) {