In-development rewrite of the WordPress (WXR) Importer
Switch branches/tags
Nothing to show
Clone or download
hyperpress Merge pull request #131 from dcavins/comment-id-undefined-variable
Fix Comment ID mapping variable reference.
Latest commit 140a53e Jul 18, 2017
Failed to load latest commit information.
assets remove out of scope fix Sep 19, 2016
bin Add testing harness for Travis Jun 7, 2016
templates Merge branch 'master' of into… Sep 19, 2016
tests Add basic activation test Jun 7, 2016
.gitignore fix(vcs) Add PM vendor folder to ignore list, see #20 May 24, 2016
.travis.yml You need to install the required Node.js version Jun 5, 2017 Add contributing doc Jun 5, 2017
Gruntfile.js Use subtask for phpunit Grunt task Jun 7, 2016
LICENSE Add GPL license Jun 5, 2017 Old and new importer plugins can't both be activated since they now h… Jun 4, 2016
class-command.php Check path before using it Feb 16, 2017
class-logger-cli.php Initial commit Aug 20, 2015
class-logger-html.php Fix a bunch of coding standards violations Jun 7, 2016
class-logger-serversentevents.php Fix a bunch of coding standards violations Jun 7, 2016
class-logger.php Initial commit Aug 20, 2015
class-wxr-import-info.php Add even more info to the preliminary scan Apr 6, 2016
class-wxr-import-ui.php Merge pull request #79 from humanmade/already-exists-progress Mar 8, 2017
class-wxr-importer.php Fix Comment ID mapping variable reference. Jun 26, 2017
composer.json Use `~0.4` PHPCS 2.9 compat version of fig-r/psr2r-sniffer Jun 27, 2017
package.json Add testing harness for Travis Jun 7, 2016
phpcs.ruleset.xml Add note about disabled nonce check Jun 13, 2016
phpunit.xml.dist Add PHPUnit framework Jun 7, 2016
plugin.php Fix more standards errors Jun 7, 2016

WordPress Importer Redux

This repository contains the new version of the WordPress Importer currently in development. Learn more about the rewrite.

Fast, lightweight, consistent. Pick three. 🌴 😎

How do I use it?

Via the Dashboard

  1. Install the plugin directly from GitHub. (Download as a ZIP.)
  2. Activate the plugin (make sure you also deactivate the original Wordpress Importer if you have it installed).
  3. Head to Tools → Import
  4. Select "WordPress (v2)"
  5. Follow the on-screen instructions.

Via the CLI

The plugin also includes CLI commands out of the box.

Simply activate the plugin, then run:

wp wxr-importer import import-file.xml

Run wp help wxr-importer import to discover what you can do via the CLI.

Current Status

The current major items are currently missing or suboptimal in the Importer:

  • Web UI (#1): Right now, there's essentially no web interface for the importer. This sucks. Done!

  • Automatic Testing: There's no unit tests. Boooooo.

How can I help?

The best way to help with the importer right now is to try importing and see what breaks. Compare the old importer to the new one, and find any inconsistent behaviour.

We have a general feedback thread so you can let us know how it goes. If the importer works perfectly, let us know. If something doesn't import the way you think it should, you can file a new issue, or leave a comment to check whether it's intentional first. :)


The WordPress Importer is licensed under the GPLv2 or later.


Original plugin created by Ryan Boren, Jon Cave (@joncave), Andrew Nacin (@nacin), and Peter Westwood (@westi). Redux project by Ryan McCue and contributors.