Recieving array fields
-
Hello,
Can can you fix this part of code that we can recieve the fields which CF7 return as an array?
/admmin/class-activetrail-cf7-admin.php:416
was:
$clean_value = sanitize_text_field($_POST[$parts[0]]);
is:
$clean_value = (is_array($_POST[$parts[0]])) ? implode(',', $_POST[$parts[0]]) : sanitize_text_field($_POST[$parts[0]]);
- The topic ‘Recieving array fields’ is closed to new replies.