Seamless rollback of WordPress Core to latest release or any outdated, secure release using the Core Update API and core update methods.
Seamless rollback of WordPress Core to latest release or any outdated, secure release using the Core Update API and core update methods. Only latest release and outdated, secure releases are offered. Refer to https://api.wordpress.org/core/stable-check/1.0/ Logo from a meme generator. Original artwork by Allie Brosh.
From the Tools menu select Rollback Core
, select the version you wish to rollback to from the dropdown and click Rollback
. You will be directed to the update-core.php
page where you should see a button to Re-install
your specified version. If you move away from the update-core.php
page before clicking the Re-install
button you will have 15 seconds to return and complete the process or you will need to start over.
In multisite use the Settings menu.
WARNING: Downgrading WordPress Core may leave your site in an unusable state requiring a complete reinstall or a forced reinstall using WP-CLI, wp core update --force --version=5.5.3
. It may also leave your site broken due to a plugin or theme incompatibility. Use at your own risk.
Rollbacks use your current locale.
PRs are welcome.
wp_is_block_theme()
for checksanitize_key()
for noncesversion_compare
check for noticemethod_exists
in check to properly functionfunction_exists( 'is_block_theme' )
check to avoid fatalsanitize_title_with_dashes()
as sanitize_file_name()
maybe have attached filter that changes outputClass Bootstrap
to intiate processreadme.txt
and clean up create_admin_page()
force-check
query arg to redirect to more consistently display the Re-install Now
button.