Files
wp-updates/mu-migration.json

26 lines
3.4 KiB
JSON

{
"name": "MU Migration",
"slug": "mu-migration",
"version": "0.4.0",
"download_url": "https://gitea.mulligan.casa/wordpress/wp-updates/raw/branch/main/mu-migration/mu-migration-0.4.0.zip",
"homepage": "https://gitea.mulligan.casa/wordpress/mu-migration",
"requires": "6.1",
"tested": "7.0",
"requires_php": "8.1",
"last_updated": "2026-09-16 21:37:57",
"author": "Mike Mulligan",
"author_homepage": "https://gitea.mulligan.casa/mmulligan",
"tags": [
"multisite",
"migration",
"wp-cli",
"export",
"import"
],
"sections": {
"description": "<p>MU Migration adds a <code>wp mu-migration</code> command family to WP-CLI. It exports a site's tables, users, and optionally its plugins, themes and uploads into one zip package, then imports that package into a multisite network as a new or existing subsite. On import it rewrites the table prefix, remaps user ids into the network's shared users table, runs the URL search-replace, and performs the housekeeping a moved site needs.</p>\n<p>This is a maintained fork of 10up's MU-Migration, which was archived on 2 March 2026. The fork runs on current PHP, ships as an ordinary plugin with self-hosted updates, and is being hardened so every destructive action is explicit, previewable with a dry run, and refused unless acknowledged.</p>\n<p><strong>Commands</strong></p>\n<ul>\n<li><code>wp mu-migration export all &lt;zip&gt;</code> exports tables, users and optionally <code>--plugins</code>, <code>--themes</code>, <code>--uploads</code>.</li>\n<li><code>wp mu-migration export tables &lt;file&gt;</code> and <code>export users &lt;file&gt;</code> export one piece at a time.</li>\n<li><code>wp mu-migration import all &lt;zip&gt;</code> imports a package, creating a subsite or targeting an existing one with <code>--blog_id</code>.</li>\n<li><code>wp mu-migration import tables &lt;file&gt;</code> and <code>import users &lt;file&gt;</code> import one piece at a time.</li>\n<li><code>wp mu-migration posts update_author &lt;map&gt;</code> remaps post authorship to the new user ids.</li>\n<li><code>wp mu-migration users update_passwords</code> resets or replaces passwords after a move.</li>\n<li><code>wp mu-migration info</code> prints the tool's version.</li>\n</ul>\n<p>Full usage, including the safety flags as they land, is documented in the repository README.</p>",
"installation": "<ol>\n<li>Upload the plugin to <code>wp-content/plugins/</code> and activate it. On multisite, network activate it so the command is available for every site.</li>\n<li>Install it on both the site you are moving and the network you are moving it to.</li>\n<li>Run <code>wp mu-migration info</code> to confirm the command is registered.</li>\n</ol>\n<p>Updates are delivered through the <code>Update URI</code> header and the Manifest Updater plugin.</p>",
"changelog": "<p><strong>0.4.0</strong><br />\n* Forked from 10up/MU-Migration at its final commit. Packaged as a WordPress plugin with self-hosted updates.<br />\n* Runs on PHP 8.1 through 8.5: the abandoned zip library is replaced by PHP's ZipArchive, CSV calls pass the escape argument PHP 8.4 requires, and site creation uses wp_insert_site. Compatibility work by Brandon Kraft.<br />\n* Fixed site creation reporting id 0 for every new site.<br />\n* PHP floor raised from 7.1 to 8.1. Runtime Composer dependencies removed.<br />\n* Dead code and the retired Travis configuration removed.</p>"
}
}