[wp-cvs] wordpress wp-mail.php,1.21,1.22
Michel Valdrighi
michelvaldrighi at users.sourceforge.net
Mon Jan 31 17:20:01 GMT 2005
Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27529
Modified Files:
wp-mail.php
Log Message:
no wonder posting by e-mail was broken
Index: wp-mail.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-mail.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** wp-mail.php 8 Sep 2004 08:57:52 -0000 1.21
--- wp-mail.php 31 Jan 2005 17:19:56 -0000 1.22
***************
*** 143,147 ****
$post_data = compact('post_content','post_title','post_date','post_date_gmt','post_author','post_category');
! wp_insert_post($post_data);
do_action('publish_phone', $post_ID);
--- 143,147 ----
$post_data = compact('post_content','post_title','post_date','post_date_gmt','post_author','post_category');
! $post_ID = wp_insert_post($post_data);
do_action('publish_phone', $post_ID);
More information about the cvs
mailing list