Support » Plugin: WP资源下载管理 » 当链接中出现形似%xx的符号时保存后会消失

Viewing 1 replies (of 1 total)
  • Thread Starter sgpublic

    (@sgpublic)

    才疏学浅,这是在下的解决方案;
    classes/front.class.php

    135 -            $meta_values[$field] = get_post_meta($post_id, $field,true);
    135 +            $meta_values[$field] = base64_decode(get_post_meta($post_id, $field, true));
    
    262 -             $value = trim($_POST[$field]);
    262 +             $value = base64_encode($_POST[$field]);
    • This reply was modified 1 month, 3 weeks ago by sgpublic.
    • This reply was modified 1 month, 3 weeks ago by sgpublic.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.