Skip to content

Commit

Permalink
修复:付费文件链接无法保存的 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
swling committed Aug 9, 2022
1 parent 3add439 commit 1c55e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/view/wnd-form-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public function add_post_paid_file_upload($label = '', $required = false) {
$this->add_post_file_upload('file', true, $label);
$this->add_url(
[
'name' => 'file_url',
'name' => '_meta_file_url',
'value' => wnd_get_post_meta($this->post_id, 'file_url') ?: '',
'icon_left' => '<i class="fas fa-link"></i>',
'placeholder' => __('文件链接', 'wnd'),
Expand Down

0 comments on commit 1c55e79

Please sign in to comment.