Skip to content

Version 3 Migration

Mat Lipe edited this page Jan 19, 2021 · 6 revisions

There are many breaking changes when going from V2 to V3.

The majority of the changes are the removal of previously deprecated classes and methods. You may update your project to version 2.24.1 and set WP_DEBUG to true to automatically have these deprecations logged; a recommended step before updating to V3.

Any items deprecated in 2.24.0 will no longer exist in V3 so if you still need something, you must copy it into your own code before updating.

If you plan to stay on V2 due to PHP version or WP version limitations, you'll likely want to lock your project to ^2.24.2.

New WP core minimum version

Version 5.5.0+ of WordPress Core is now required.

New PHP minimum version

Version 7.3+ of PHP is now required.