Skip to content

Commit

Permalink
Minor bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tauno Hanni committed May 17, 2018
1 parent b57e259 commit acd57c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/class-fdc-meta-query.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function fdc_add_entry_meta($entry_id, $meta_key, $meta_value)

$table_name = $wpdb->prefix . 'fdc_entries_meta';
$meta_key = wp_unslash($meta_key);
$meta_value = wp_unslash($meta_value);
$meta_value = maybe_serialize($meta_value);

$result = $wpdb->insert($table_name , array(
Expand Down

0 comments on commit acd57c4

Please sign in to comment.