Changeset 5700 for trunk/wp-admin/import/wordpress.php
- Timestamp:
- 06/14/2007 02:25:30 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/import/wordpress.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/wordpress.php
r5448 r5700 252 252 echo '<h3>'.sprintf(__('All done.').' <a href="%s">'.__('Have fun!').'</a>', get_option('home')).'</h3>'; 253 253 } 254 254 255 255 function process_post($post) { 256 256 global $wpdb; … … 259 259 if ( $post_ID && !empty($this->posts_processed[$post_ID][1]) ) // Processed already 260 260 return 0; 261 261 262 262 // There are only ever one of these 263 263 $post_title = $this->get_tag( $post, 'title' ); … … 312 312 if ( $post_id && $post_ID && $this->posts_processed[$post_ID] ) 313 313 $this->posts_processed[$post_ID][1] = $post_id; // New ID. 314 314 315 315 // Add categories. 316 316 if (count($categories) > 0) {
Note: See TracChangeset
for help on using the changeset viewer.