Changeset 2196 for trunk/wp-mail.php
- Timestamp:
- 02/01/05 13:21:12 (4 years ago)
- Files:
-
- trunk/wp-mail.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-mail.php
r2176 r2196 133 133 $post_category = $post_categories; 134 134 135 $post_data = compact('post_content','post_title','post_date','post_date_gmt','post_author','post_category'); 135 // or maybe we should leave the choice to email drafts? propose a way 136 $post_status = 'publish'; 137 138 $post_data = compact('post_content','post_title','post_date','post_date_gmt','post_author','post_category', 'post_status'); 136 139 137 140 $post_ID = wp_insert_post($post_data);
