Title: Core Rollback
Author: Andy Fragen
Published: <strong>2020 年 11 月 17 日</strong>
Last modified: 2026 年 3 月 29 日

---

搜索插件

![](https://ps.w.org/core-rollback/assets/banner-772x250.png?rev=2560196)

![](https://ps.w.org/core-rollback/assets/icon-128x128.png?rev=2560196)

# Core Rollback

 作者：[Andy Fragen](https://profiles.wordpress.org/afragen/)

[下载](https://downloads.wordpress.org/plugin/core-rollback.1.4.2.zip)

 * [详情](https://cn.wordpress.org/plugins/core-rollback/#description)
 * [评价](https://cn.wordpress.org/plugins/core-rollback/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/core-rollback/#developers)

 [支持](https://wordpress.org/support/plugin/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](http://hyperboleandahalf.blogspot.com/2010/06/this-is-why-ill-never-be-adult.html)
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

## 评价

![](https://secure.gravatar.com/avatar/508daba388fcedf518c5527b6480679831b4bbaca444a09699d143b095a7d444?
s=60&d=retro&r=g)

### 󠀁[Worked for me](https://wordpress.org/support/topic/worked-for-me-122/)󠁿

 [yavuzc](https://profiles.wordpress.org/yavuzc/) 2026 年 5 月 29 日

Wordpress 7.0 broke all my columns and layouts. This worked fine and rolled back
to 6.8.5

![](https://secure.gravatar.com/avatar/d5cf9f877a50283d8d80b78d279f6fa71242f17aee5ca15546fc45dc17d4aa3c?
s=60&d=retro&r=g)

### 󠀁[Life Saver](https://wordpress.org/support/topic/life-saver-486/)󠁿

 [mthomas80](https://profiles.wordpress.org/mthomas80/) 2026 年 1 月 13 日

This is a life saver for when you need to pull a client’s site down into local, 
but they’re on an older version of WP and they refuse to pay us for updating the
sites plugins.

![](https://secure.gravatar.com/avatar/dbc91065ae2af2c1d4ee76692153eae10131bb7b4b80e1cecfd57d5790c622a8?
s=60&d=retro&r=g)

### 󠀁[I did my job with it, I downgraded WordPress from 6.9 to 6.8.3.](https://wordpress.org/support/topic/i-did-my-job-with-it-i-downgraded-wordpress-from-6-9-to-6-8-3/)󠁿

 [tatuatu](https://profiles.wordpress.org/tatuatu/) 2026 年 1 月 7 日

I did my job with it, I downgraded WordPress from 6.9 to 6.8.3.

![](https://secure.gravatar.com/avatar/d4f5cc4fbb9f87aabd8582163e1e53b6e560926a22b147cd44819ff2b115295c?
s=60&d=retro&r=g)

### 󠀁[6.8 to 6.7.2](https://wordpress.org/support/topic/6-8-to-6-7-2/)󠁿

 [wpandlpuser](https://profiles.wordpress.org/wpandlpuser/) 2025 年 5 月 11 日

My theme was not compatible with the automatically installed WP 6.8 and it let to
critical errors on the page. I could still access the admin page to download the
plugin and trigger the rollback. Unfortunately, the theme has no support from the
developer and probably it is not going to receive a patch for WP 6.8. I followed
the re-install steps and everything worked well. Once the installation was finished,
I was force-logged out and upon trying to enter the admin area, my password was 
no longer valid. Small heart attack. (ref. @ndstry had the same issue mentioned 
in a previous review, it seems there is a hashing logic changed between the versions).
Luckily the password reset email was working well and I could reset the admin account.
I have also shut down the website (I am hosting it locally with Local) and then 
the WP version is also shown correctly. Thank you for developing this plugin!

![](https://secure.gravatar.com/avatar/59da62eebc3ff695c779014618391c0de074ef996e907847d41540f0cfe2226f?
s=60&d=retro&r=g)

### 󠀁[Affected Login.](https://wordpress.org/support/topic/affected-login/)󠁿

 [VJ1I](https://profiles.wordpress.org/ndstry/) 2025 年 5 月 4 日 1 回复

Unable to log into site after rollback to 6.7.2 from 6.8.1. Password reset failed
to send e-mails. Host provider e-mailed a temporary password which effected a successful
log in. Website is otherwise OK. Was unaware of inherent rollback complications 
from 6.8 due to core encryption modifications, as I saw no disclaimer in plugin 
description.

![](https://secure.gravatar.com/avatar/c668e3a09c9eea7010f84d719614c6e332509d43899c7976269e395b2ce63ff0?
s=60&d=retro&r=g)

### 󠀁[Very nice and easy to use](https://wordpress.org/support/topic/very-nice-and-easy-to-use-29/)󠁿

 [Duncan](https://profiles.wordpress.org/duncan1967/) 2025 年 5 月 1 日

Used on 6.8.1 to 6.7.2 rollback – very nice and easy. I’d performed a simple file
and folder rollback which worked perfectly but the DashBoard still showed the original
WordPress version. Yes, could have fixed that easily (I believe) but this plugin
just did what I wanted in about a minute, with the correct rollback version now 
displayed in the Dashboard, too. Thanks :o)

 [ 阅读所有16条评价 ](https://wordpress.org/support/plugin/core-rollback/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Andy Fragen ](https://profiles.wordpress.org/afragen/)

「Core Rollback」插件已被翻译至 11 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/core-rollback/contributors)
为本插件所做的贡献。

[帮助将「Core Rollback」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/core-rollback)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/core-rollback/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/core-rollback/)，或通过[RSS](https://plugins.trac.wordpress.org/log/core-rollback/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/core-rollback/)。

## 更新日志

#### 1.4.2 / 2026-03-29

 * remove null coalescing so works with PHP 5.6

#### 1.4.1 / 2025-12-09

 * add hardening to `get_core_versions()`
 * account for `update_core` transient as `false`

#### 1.4.0 / 2025-11-17

 * return rollback offer with `update_core` transient
 * update POT GitHub Action

#### 1.3.7 / 2024-12-02

 * start in `init` hook
 * add GitHub Action to generate POT

#### 1.3.6 / 2024-11-01

 * remove `load_plugin_textdomain()`
 * composer update

#### 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

## 额外信息

 *  版本 **1.4.2**
 *  最后更新：**2 月前**
 *  活跃安装数量 **10,000+**
 *  WordPress 版本 ** 4.1 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/core-rollback/) 、 [Dutch](https://nl.wordpress.org/plugins/core-rollback/)、
   [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/core-rollback/) 、 [English (US)](https://wordpress.org/plugins/core-rollback/)、
   [French (France)](https://fr.wordpress.org/plugins/core-rollback/) 、 [German](https://de.wordpress.org/plugins/core-rollback/)、
   [Japanese](https://ja.wordpress.org/plugins/core-rollback/) 、 [Portuguese (Brazil)](https://br.wordpress.org/plugins/core-rollback/)、
   [Portuguese (Portugal)](https://pt.wordpress.org/plugins/core-rollback/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/core-rollback/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/core-rollback/) 和 [Swedish](https://sv.wordpress.org/plugins/core-rollback/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/core-rollback)
 * 标签
 * [core](https://cn.wordpress.org/plugins/tags/core/)[Downgrade](https://cn.wordpress.org/plugins/tags/downgrade/)
   [rollback](https://cn.wordpress.org/plugins/tags/rollback/)[upgrade](https://cn.wordpress.org/plugins/tags/upgrade/)
 *  [高级视图](https://cn.wordpress.org/plugins/core-rollback/advanced/)

## 评级

 4.7 星（最高 5 星）。

 *  [  14 条 5 星评价     ](https://wordpress.org/support/plugin/core-rollback/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/core-rollback/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/core-rollback/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/core-rollback/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/core-rollback/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/core-rollback/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/core-rollback/reviews/)

## 贡献者

 *   [ Andy Fragen ](https://profiles.wordpress.org/afragen/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/core-rollback/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://thefragens.com/github-updater-donate)