Title: helli's Replies | WordPress.org

---

# helli

  [  ](https://wordpress.org/support/users/helli/)

 *   [Profile](https://wordpress.org/support/users/helli/)
 *   [Topics Started](https://wordpress.org/support/users/helli/topics/)
 *   [Replies Created](https://wordpress.org/support/users/helli/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/helli/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/helli/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/helli/engagements/)
 *   [Favorites](https://wordpress.org/support/users/helli/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP 2.1: xml export/import](https://wordpress.org/support/topic/wp-21-xml-exportimport/)
 *  Thread Starter [helli](https://wordpress.org/support/users/helli/)
 * (@helli)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/wp-21-xml-exportimport/#post-521308)
 * Ok, I have fixed the problem by myself:
 * In wp-admin\export.php from Line 170:
 *     ```
       <description></description>
   
       <excerpt:encoded><![CDATA[<?php echo $post->post_excerpt ?>]]></excerpt:encoded>
   
       <content:encoded><![CDATA[<?php echo $post->post_content ?>]]></content:encoded>
       ```
   
 * and in wp-admin\import\wordpress.php from Line 228:
 *     ```
          $post_author    = $this->get_tag( $post, 'dc:creator' );
   
          $post_excerpt   = $this->get_tag( $post, 'excerpt:encoded' );
          $post_excerpt = str_replace(array ('<![CDATA[', ']]>'), '', $post_excerpt);
          $post_excerpt = preg_replace('|<(/?[A-Z]+)|e', "'<' . strtolower('$1')", $post_excerpt);
          $post_excerpt = str_replace('<br>', '<br />', $post_excerpt);
          $post_excerpt = str_replace('<hr>', '<hr />', $post_excerpt);
   
          $post_content = $this->get_tag( $post, 'content:encoded' );
       ```
   
 * Works perfect for me.
 * Helli

Viewing 1 replies (of 1 total)