no wonder posting by e-mail was broken
git-svn-id: http://svn.automattic.com/wordpress/trunk@2174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4610a1aa0a
commit
b9ea830dd6
|
@ -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');
|
$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);
|
do_action('publish_phone', $post_ID);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue