Hi guys, I have a bug report for Simple Front End Post but not sure where to submit it? wp_insert_post() is used when editing a post which causes the post’s creation date to be overwritten. Shouldn’t wp_update_post() be used when editing posts and wp_insert_post() be used for new posts?
Actually I see $post_data[‘ID’] = $post_id; is passing the post id into the $post_data array which gets sent to wp_insert_post() so am now not sure why the post’s creation date is being overwritten?
Thought: Does a post modifed date need to be passed into the post_data array?
Hi Henry, Sorry, I had no Idea you posted here. There is no need to pass modified date
OK got a fix, please let me know if this is OK? http://pastebin.com/EXqUk8Kr