Migration plugin compatibility with future WP versions

Mine isn’t compatible with 5.0.1…I have the latest version of the plugin.

What error? any active security plugin during migration? Can you list your active plugin?

Looking at the files in the migration plugin, it is only checking up to 5.0.

You might have to wait until James or one of the core team members can clarify this for you.

I’ve migrated about 20 sites (all on 4.9.8) with the same plugin setup, so I’m pretty sure it’s not a plugin.

The only difference was that the ones that gave me this error were on WP 5.0.1.

The migration plugin only supports WP up to 5.0 see here:

Ya that’s why I was getting confused on how others were using it with 5.0.1. That’s the only reason I even tried.

Yeah, you could do it by doing the “migration without using the plugin” method, but I can’t say for sure if that is safe or would work. That’s why I say wait until the core team can answer you.

We plan to support 5.0.1 (and future ones we can support). However, you are correct, right now the plugin doesn’t support 5.0.1 but we are working on it :slight_smile:

Here is the open issue on Github: https://github.com/ClassicPress/ClassicPress-Migration-Plugin/issues/48

1 Like

Currently, we need to release a new version of the migration plugin for each new WordPress version. This is not ideal, but “supporting” WP versions when we haven’t actually tested them is also not ideal. Open to ideas and suggestions there.

In the meantime there is a way to override the WP version check by adding a line of code in your theme’s functions.php file or a file under wp-content/mu-plugins. See: https://github.com/ClassicPress/ClassicPress-Migration-Plugin#how-can-i-use-this-plugin-with-an-unsupported-version-of-wordpress


Note: I’ve also added this info to the migration documentation page so that it will be easier to find.

1 Like

Thanks James

I think the migration plugin is important for those of us who use vps administrators like severpilot.

At least until Cp is more popular and can be installed from this type of administrators.

In this case the fastest is to install wordpress (by default the latest version is installed) and then it is updated to CP with the plugin.

Passing files by sftp is very delayed and it will be a great help to maintain the migration plugin.

I can not help because I’m not a programmer but I thank the developers for thinking about this.

By the way, I just migrated from 5.0.2 and without any problem.

1 Like

I’ve just migrated a site with WP 5.0.3 using that added line in functions.php to override the version check.

The migration went through fine and the site looks to be working perfectly.


Hello ozfiddler

Could you tell me what is the code line and where to add it exactly?

I’m making new sites and the preinstallation of server pilot is already default by 5.0.3.

I appreciate your response

Just add this line

add_filter( ‘classicpress_ignore_wp_version’, ‘__return_true’ );

to your functions.php file in the active theme (or child theme).

1 Like

You can add the code in your theme functions.php like @ozfiddler wrote, or since it is mostly an one off action to migrate to CP, you can just change the version number in plugin folder /lib/admin-page.php:318

1 Like

Thanks Christos. I was just trying to do another site with that line in functions.php and it wasn’t working for some reason. Your method did it though.


I did the version number change. Worked perfectly.

The migration plugin is now updated to work with WordPress 5.0.3.

Changing the supported WordPress version before anyone is able to test it will work, until it doesn’t. It is entirely possible that WordPress will release a change that requires us to make a change to the migration process.

So, if you really need to override the supported WordPress version and switch a site in the couple of days after a new WordPress release, you can, but it is risky. If your site breaks as a result, there’s not a lot we can do about it.

This is why we put a bunch of “at your own risk” warnings around this documentation, and why we test each new version of WordPress with the migration plugin ourselves.


Thank you

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.