title: Wordpress custom post upload post_parent is 0
body: <p>I'm using wordpress custom file uploader of custom post type but my uploaded image is not exists post_parent;</p>
  
  <p>after my uploaded I'm showing phpmyadmin and my uploaded file post_parent 0</p>
  
  <p>What can I do solve this problem</p>