This has to do with auto saving. You need to check the following before saving your fields:
if ( ! isset( $_POST['action'] ) || $_POST['action'] != 'editpost' || 'revision' == $post->post_type )
return;
This has to do with auto saving. You need to check the following before saving your fields:
if ( ! isset( $_POST['action'] ) || $_POST['action'] != 'editpost' || 'revision' == $post->post_type )
return;