Changeset 3405 for trunk/wp-admin/import/livejournal.php
- Timestamp:
- 01/05/2006 05:35:09 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/livejournal.php
r3375 r3405 68 68 } else { 69 69 printf(__('Importing post <i>%s</i>...'), stripslashes($post_title)); 70 $post = compact('post_author', 'post_date', 'post_content', 'post_title', 'post_status');71 $post_id = wp_insert_post($post );70 $postdata = compact('post_author', 'post_date', 'post_content', 'post_title', 'post_status'); 71 $post_id = wp_insert_post($postdata); 72 72 if (!$post_id) { 73 73 _e("Couldn't get post ID"); … … 114 114 } 115 115 } 116 if ( $num_comments ) 116 if ( $num_comments ) { 117 echo ' '; 117 118 printf(__('(%s comments)'), $num_comments); 118 119 } 119 120 echo '</li>'; 120 121 flush();
Note: See TracChangeset
for help on using the changeset viewer.