Changeset 6125 for trunk/wp-admin/import/dotclear.php
- Timestamp:
- 09/18/2007 04:32:22 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/dotclear.php
r6026 r6125 365 365 'comment_count' => $post_nb_comment + $post_nb_trackback) 366 366 ); 367 if ( is_wp_error( $ret_id ) ) 368 return $ret_id; 367 369 } 368 370 else … … 383 385 'comment_count' => $post_nb_comment + $post_nb_trackback) 384 386 ); 387 if ( is_wp_error( $ret_id ) ) 388 return $ret_id; 385 389 } 386 390 $dcposts2wpposts[$post_id] = $ret_id; … … 563 567 // Post Import 564 568 $posts = $this->get_dc_posts(); 565 $this->posts2wp($posts); 569 $result = $this->posts2wp($posts); 570 if ( is_wp_error( $result ) ) 571 return $result; 566 572 567 573 echo '<form action="admin.php?import=dotclear&step=4" method="post">'; … … 711 717 break; 712 718 case 3 : 713 $this->import_posts(); 719 $result = $this->import_posts(); 720 if ( is_wp_error( $result ) ) 721 echo $result->get_error_message(); 714 722 break; 715 723 case 4 :
Note: See TracChangeset
for help on using the changeset viewer.