I noticed some weird behavior in WP.
I've created custom fields through ACF Plugin. I've also coded a function that can update posts and custom fields at the same time with
When I update a post from the backend editor, some new lines are added in the postmeta table. Some kind of revisions I guess. But it does not occur when using my own functions. The modification is OK but no new lines in the DB.
Is this a normal behavior ?
EDIT FOR MORE DETAILS
Here is my custom code :
$post_update = array( 'ID' => $postid, 'post_title' => $title, 'post_content' => $description, ); $update_post = wp_update_post($post_update); update_post_meta( $postid, 'nom_adherent', $name);
No problem with that code. But If I try to update the post manually from backend editor, WP adds data in the meta_key like _nom_adherent and in the meta_key like field_5b759e3860abd columns.
I don't understand