I noticed when attachment args are defined for inserting an attachment (image) that post_type is set to publish. I ran into a few issue with this in certain instances and think it should be set to inherit, as outlined at http://codex.wordpress.org/Function_Reference/wp_insert_attachment
I noticed when attachment args are defined for inserting an attachment (image) that
post_type
is set topublish
. I ran into a few issue with this in certain instances and think it should be set toinherit
, as outlined at http://codex.wordpress.org/Function_Reference/wp_insert_attachmentDoing so, fixed my issues.