Changeset 6726 for trunk/wp-admin/import/mt.php
- Timestamp:
- 02/05/2008 06:47:27 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/mt.php
r6430 r6726 216 216 $post->post_author = $this->checkauthor($post->post_author); //just so that if a post already exists, new users are not created by checkauthor 217 217 $post_id = wp_insert_post($post); 218 if ( is_wp_error( $post_id ) ) 218 if ( is_wp_error( $post_id ) ) 219 219 return $post_id; 220 220 … … 295 295 $context = ''; 296 296 $result = $this->save_post($post, $comments, $pings); 297 if ( is_wp_error( $result ) ) 297 if ( is_wp_error( $result ) ) 298 298 return $result; 299 299 $post = new StdClass; … … 421 421 $this->get_authors_from_post(); 422 422 $result = $this->process_posts(); 423 if ( is_wp_error( $result ) ) 423 if ( is_wp_error( $result ) ) 424 424 return $result; 425 425 }
Note: See TracChangeset
for help on using the changeset viewer.