Hello,
Thank you for using the Prime Mover plugin! Sorry to hear that Inactive plugins are not excluded from the export. We do this to save space in the package, speed up the export/restore, and enhance target site security (as per WordPress core recommendations).
WordPress core best practice also recommends removing inactive plugins for security reasons. You can see these recommendations in the Site Health status page. Therefore, these are the reasons we follow these security recommendations in our migration procedures: if the plugin is not active, it should not be included in the package.
You have three options regarding handling inactive plugins on your site (when doing a migration or export):
- If you want to keep these plugins on your site, as they serve a purpose, make sure you activate them before creating any export. Prime Mover automatically includes this in the export package unless it is excluded in the export.
- If these plugins are not used on your site, you should consider removing them (as WordPress security recommends).
- If you plan to use these inactive plugins sooner in your target site (after migration), then it’s best to reinstall them fresh from their sources (e.g., WordPress plugins repository) or directly from the vendors. This will ensure you are always using the latest version.
In future versions of Prime Mover, we might review this one and add an option for users to include inactive plugins (as an export setting). However, for now, you can only choose from the above three options.
i understand it’s a good default.
my use case for this is development websites where I need the inactive plugins. Also client migrations where I shouldn’t be removing plugins.