Core Rollback

描述

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.

Usage

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.

屏幕截图

  • Tools menu item
  • Rollback Core action dropdown
  • Re-install Now button for rollback

评价

2024 年 2 月 22 日 1 回复
So thankful for this when you're troubleshooting whether an issue is related to a new version or not!
2023 年 11 月 20 日
A handy time saver for developers trying to test their code against legacy WP versions. Thanks for making this!
2023 年 5 月 13 日
Since core started adding decoding="async" to all images, my site was going to hell. Had to Roll Back to 6.0.3 and my issue is gone. Good to go, until a major [secur]ity patch comes along I guess??? Nonetheless, Thank you for creating this plugin!!!
2023 年 5 月 8 日
I needed to rollback to WP 6.1.x to quickly test an issue with one of my plugins and this worked perfectly.
2023 年 4 月 17 日
I use Core rollback to downgrade from WP 6.2 to WP 5.9.3 when facing issues with the latest version. It works nicely in seconds Thanks to the editors
阅读所有7条评价

贡献者及开发者

“Core Rollback” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Core Rollback」插件已被翻译至 7 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Core Rollback”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.3.5 / 2023-07-12

  • update rollback choices for PHP version

1.3.4 / 2023-02-07

  • composer update

1.3.3 / 2023-02-05

  • update for PHP 8.1

1.3.2 / 2022-05-10

  • use wp_is_block_theme() for check

1.3.1 / 2022-02-08

  • use sanitize_key() for nonces

1.3.0 / 2022-01-28

  • filter WP versions with significant deprecation notices/errors for newer PHP versions
  • add notice about limiting of rollback options for PHP versions

1.2.4 / 2022-01-14

  • proper nonce verification of settings page
  • remove unneededd version_compare check for notice

1.2.3 / 2022-01-11

  • I suck and so do typos

1.2.2 / 2022-01-11

  • need to use method_exists in check to properly function

1.2.1 / 2022-01-11

  • add function_exists( 'is_block_theme' ) check to avoid fatal

1.2.0 / 2022-01-10

  • add method to return array of block capable WP versions for rollback

1.1.2 / 2022-01-10

  • add notice if currently using block theme, thanks @costdev

1.1.1 / 2021-10-14

  • use sanitize_title_with_dashes() as sanitize_file_name() maybe have attached filter that changes output

1.1.0 / 2021-07-07

  • add @10up GitHub Actions for WordPress SVN

1.0.1 / 2020-12-4

  • fix text-domain in string, thanks Alex

1.0.0 / 2020-11-17

  • initial release to dot org repository
  • add Class Bootstrap to intiate process
  • updated instructions, etc
  • add assets, screenshots, banners, icon
  • add readme.txt and clean up create_admin_page()
  • add warning notice to settings
  • add force-check query arg to redirect to more consistently display the Re-install Now button.
  • limit rollbacks to WP > 4.0, I found some non-recoverable issue in my local testing
  • initial release