Support » Plugin: WordPress Importer » Authors not importing

  • 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:

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Authors not importing’ is closed to new replies.