Building Custom Data Migrations to WordPress

I wrote a post over on the WordPress.com Developers Blog, dealing with some of the lessons we’d learned on building migrations.

Among the most important things to note is (and I may be a broken record here) ALWAYS make sure you define WP_IMPORTING to true when running an import! Otherwise a lot of background tasks can pick up, and you may find a thousand old posts updated and shipped to your social media feeds.

Comments

Leave a comment