Changeset 2174

Show
Ignore:
Timestamp:
01/31/05 17:19:56 (4 years ago)
Author:
michelvaldrighi
Message:

no wonder posting by e-mail was broken

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-mail.php

    r1624 r2174  
    143143    $post_data = compact('post_content','post_title','post_date','post_date_gmt','post_author','post_category'); 
    144144 
    145     wp_insert_post($post_data); 
     145    $post_ID = wp_insert_post($post_data); 
    146146 
    147147    do_action('publish_phone', $post_ID);