跳到内容

Dragon Safe Updates

v1.0.3

Dragon Core · 2026年11月26日 上架

Every plugin and theme update is snapshotted, tested and rolled back automatically if it breaks your site.

正在使用
10 以下
评分
暂无
累计下载
11
最近更新
2026年11月27日
需要 WordPress 6.6+已测试到 7.1.5PHP 8.0+

贡献者

Every plugin and theme update on your site is the same small gamble: it might be fine, or it might fatal your homepage at 2am. Dragon Safe Updates takes a snapshot before an update, tests the site after it, and rolls the update back on its own, automatically, when the test shows real breakage – so a bad update is caught and reversed instead of being discovered by your visitors.

How a safe update works

  1. Snapshot. Just before the new files are installed, Dragon Safe Updates zips up the plugin or theme’s current files, dumps the database tables that are provably its own (see “What an automatic rollback restores” below; with size caps), and copies every non-transient option. Every part of a snapshot is encrypted before it is stored, so a copy fetched from the web server is unreadable. Snapshots are never raw files sitting in an uploads folder – a raw PHP file under uploads would be executable on some servers.
  2. Install. WordPress installs the update exactly as it normally would. Dragon Safe Updates does not change how the update itself happens.
  3. Test. Once the update finishes, Dragon Safe Updates requests your own configured pages (home, admin, login, checkout, custom URLs and more) from your own server and checks that WordPress answered without a fatal error – using WordPress’s own built-in error-scraping mechanism, the one core uses to check for a fatal error when you save a file in the plugin or theme file editor, and when it activates a plugin in its sandbox. This is what “tested” means: the configured pages answered and WordPress reported no fatal error. It is not a guarantee the update is safe, and it is not a malware scan.
  4. Verdict and, if needed, rollback. A redirect is never treated as a failure – a 3xx response proves PHP finished running without fataling, so it is reported as a flag, never rolled back. Automatic rollback happens only on real breakage: a PHP fatal error, a 5xx server error WordPress itself reported, and – confirmed with one retry, and only against a trusted baseline that was healthy – a 5xx from the web server when PHP did not answer, no response at all, or a page that now returns a 4xx. Safe Updates takes that baseline once a day, so there is one to compare with. Everything else that looks different – a slower page, a changed status code, a resized response, an inconclusive probe, changed options or database tables, a medium-or-higher change-risk signal – is reported as a flag on the results screen, not acted on automatically.

If a rollback happens, the version that broke your site is held. WordPress still lists the update; Safe Updates refuses to install it, automatically or by hand, until you clear the hold from the Settings tab’s Held versions list (“Clear the hold”). A manual attempt stops before anything is installed and says why. That covers an uploaded ZIP that would replace the installed package and a forced reinstall too; those two are refused when held, but are not snapshotted or tested, because WordPress runs them as installs rather than updates.

What never triggers a rollback

A redirect. A page that was already failing before the update (the “already broken” rule exonerates a target whose pre-update baseline showed the exact same problem). A soft flag on its own – slower response times, a changed status code, a resized page, database or option changes, or a change-risk signal. These are reported, not acted on.

What an automatic rollback restores

Files always. Database tables and options only when they are provably the package’s OWN, and the proof is the name alone: it must start with the package’s whole folder name (wp-mail-smtp owns wp_mail_smtp_*), or with a short list of well-known prefixes for plugins that do not name things after their folder (WooCommerce’s wc_ and woocommerce_, for example). One word of a folder name proves nothing – a plugin called display-posts does not own your wp_posts table. WordPress’s own tables and options are never restored by an automatic rollback, by any route; nor is anything that matches a longer folder name of another installed plugin or theme (elementor does not own elementor_pro_* while Elementor Pro is installed).

Everything else that changed during the update is listed on the History row for you to put back by hand. WordPress core’s own options are listed for information only and can never be restored from this screen, automatically or manually. A shared prefix is the limit of this rule: an extension that stores its data under its parent’s prefix (many WooCommerce extensions do) looks like the parent’s own, so check the row before relying on it.

The History row also tells you when something was left alone and why: not_restored lists the options an automatic rollback did not touch; core_scan_incomplete means Safe Updates could not read this site’s WordPress core files in time to check which options are WordPress’s own, so it restored files and tables and no options at all.

The verdicts

passed, `passed_with_flags`, `rolled_back`, `rollback_failed`, `untested`, `held`, and two that mean nothing was protected or put right: `failed` - the update broke the site and was NOT rolled back, because automatic rollback is off or there was nothing to roll back from (you get a notice with a one-click rollback when a snapshot exists, an email if the "Email about a broken update" setting is on, and a non-zero WP-CLI exit; the version is not held, since nothing was rolled back) - and `unprotected` - the package cannot be snapshotted or rolled back at all, which today means a single-file plugin (one `.php` file sitting directly in `wp-content/plugins/` with no folder of its own).

Change-risk report

Every update is also compared file-by-file against what it replaced, and flagged for patterns worth a human look: new remote hosts contacted, eval()/obfuscated code, shell execution, new admin-user creation, unexpected PHP files outside normal locations, and more. This is a set of heuristic signals, not a malware verdict – it tells you what changed and why it might be worth a look, nothing more.

Local only, no account

Dragon Safe Updates runs entirely on your own server. There is no account, no dashboard to sign into, and no data sent anywhere. The only outbound requests it ever makes are: loopback probes to your own site (to test it after an update), WordPress.org downloads when you ask to roll back to a specific released version, and fetching the update package WordPress already offered you when you click “Preview changes” before an update.

WP-CLI and Abilities

Everything on the Safe Updates screen is also available from the command line: wp dragon-safe-updates update|rollback|probe|history|snapshots|risk|preflight|hold, each with --format=json for scripting. Two read-only Abilities API abilities (dragon-safe-updates/list-updates and dragon-safe-updates/history) report pending updates and past results. No ability can update, roll back, install or change anything; those actions stay in wp-admin and WP-CLI.

Works with other Dragon plugins

If Dragon Activity Log is active, every passed, flagged, rolled-back, failed and held update is recorded in its tamper-evident audit log. If Dragon Speed Doctor is installed, a “slower” flag on the History screen links straight to a per-plugin performance profile.

Free and complete

Everything described above is free and fully functional, with nothing locked or greyed out.

Credits

The WordPress.org listing icon is drawn with glyphs from Lucide (https://lucide.dev), ISC License. Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022 as part of Feather (https://feathericons.com, MIT License). All other copyright (c) for Lucide are held by Lucide Contributors 2022. The plugin itself does not include these icons.

External services

Dragon Safe Updates runs entirely on your own server. It has no account, no dashboard, and no analytics or telemetry of any kind.

The only outbound requests it makes are:

  • Loopback probes to your own site, immediately after an update to check the site still responds correctly, and once a day to keep a healthy reading to compare the next update with. These requests go to the URLs configured on the Probes tab (your home page, admin, login and any custom pages you add), all on your own site’s own host.
  • WordPress.org, only when you use “Roll back to a WordPress.org version” on the Snapshots tab: api.wordpress.org for the list of released versions when you press “Load versions” (the package’s slug is sent, as WordPress itself sends it when you view a plugin’s details), and downloads.wordpress.org to download the specific released version you asked for – the same download WordPress itself would perform for a normal update. WordPress.org’s terms and privacy policy apply.
  • The update package’s own source, only when you click “Preview changes” on the Updates tab, to download the update you were already about to install so its change-risk report can be shown before you commit to it. This uses the same package URL WordPress already retrieved for that update; no request is made to any address you did not already ask WordPress to fetch from.

No data about your site, its content or its users is ever sent to Dragon Core or any other third party.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums