10up / MU-Migration

This WP-CLI plugin makes the process of moving sites from single WordPress sites to a Multisite instance (or vice-versa) much easier. It exports everything into a zip package which can be used to automatically import it within the desired Multisite installation.
MIT License
329 stars 47 forks source link

Deprecated func fix rename fix #99

Open elvismdev opened 2 years ago

elvismdev commented 2 years ago

Description of the Change

How to test the Change

Run a single site to multisite import. No PHP deprecated warnings should output to the console. No PHP warnings when moving plugins and themes file assets.

Changelog Entry

Fixed - Deprecated WordPress function warning, insert_blog() with wp_insert_site(). Fixed - PHP warning when calling replace() - caused by PHP core bug https://bugs.php.net/bug.php?id=54097

Credits

Props @elvismdev

Checklist: