codebykat / wp-post-by-email

Post By Email plugin for WordPress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Attachment Post Status

uamv opened this issue · comments

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

Doing so, fixed my issues.

Guess you mean post_status right?

Correct. post_status.

Fixed over in #31