WordPress.org

Forums

WordPress Importer
Authors not importing (2 posts)

  1. Zach Tirrell
    Member
    Posted 2 years ago #

    Authors/users that are not associated with a post or page in the export are not properly importing. This is because the current xpath search in the parser is not finding the right element. The authors in the WordPress export are in <wp:wp_author> tags, not <wp:author>

    This is the fix for parser.php:

    101c101
    < 		foreach ( $xml->xpath('/rss/channel/wp:author') as $author_arr ) {
    ---
    > 		foreach ( $xml->xpath('/rss/channel/wp:wp_author') as $author_arr ) {

    http://wordpress.org/extend/plugins/wordpress-importer/

  2. oumz99
    Member
    Posted 2 years ago #

    thx!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Importer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic