进行了一些小修复
This commit is contained in:
1 parent
fff1590a43
commit
02d456b00b
3 files changed
+23
-49
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user