no wonder posting by e-mail was broken
git-svn-id: https://develop.svn.wordpress.org/trunk@2174 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2e44737e80
commit
bbf8db321d
@ -142,7 +142,7 @@ for ($i=1; $i <= $count; $i++) :
|
||||
|
||||
$post_data = compact('post_content','post_title','post_date','post_date_gmt','post_author','post_category');
|
||||
|
||||
wp_insert_post($post_data);
|
||||
$post_ID = wp_insert_post($post_data);
|
||||
|
||||
do_action('publish_phone', $post_ID);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user