Title: RobArt Update Guard
Author: Rob Art
Published: <strong>2026 年 8 月 11 日</strong>
Last modified: 2026 年 8 月 11 日

---

搜索插件

![](https://ps.w.org/robart-update-guard/assets/banner-772x250.png?rev=3641283)

![](https://ps.w.org/robart-update-guard/assets/icon-256x256.png?rev=3641283)

# RobArt Update Guard

 作者：[Rob Art](https://profiles.wordpress.org/robword/)

[下载](https://downloads.wordpress.org/plugin/robart-update-guard.0.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/robart-update-guard/#description)
 * [评价](https://cn.wordpress.org/plugins/robart-update-guard/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/robart-update-guard/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/robart-update-guard/#developers)

 [支持](https://wordpress.org/support/plugin/robart-update-guard/)

## 描述

Every WordPress release quietly retires a few things — a function, a class, a core
file, an action or filter. Nothing is removed the day it is deprecated, so a plugin
that still calls a retired function keeps working for a while. Then a later release
finally drops it and something breaks, often with no error you can see — just a 
button that no longer does anything.

**RobArt Update Guard tells you, before that happens, which of your installed plugins
still lean on something WordPress has retired — with the file, the line, and what
to use instead.**

#### How it works

WordPress marks its own retirements directly in its source code. A single line like`
_deprecated_function( __FUNCTION__, '5.5.0', 'add_allowed_options()' )` carries 
all three facts a report needs: what was retired, when, and what to use instead.
Update Guard reads those markings from the copy of WordPress already on your site,
builds an index, then walks the PHP of your installed plugins for anything that 
still calls one.

Because the answer comes from your own WordPress install, it is as authoritative
as your site itself — no changelog parsing, no external service, no guesswork, and
no AI.

#### What it does

 * **Report** — scan every installed plugin and list what still calls a retired 
   function, class, core file, action or filter, with the exact file and line and
   the recommended replacement.
 * **Appearance exposure** — see where your plugins lean on WordPress’s own admin
   styling, so you know which screens to glance at after a core restyle (nothing
   broken — just a heads-up on where the look may shift).
 * **Lexicon** — a searchable reference of everything your WordPress version has
   retired, grouped by the release that retired it, with replacements.

#### What it covers reliably

Retired functions, classes, core files, and actions/filters — each with a real, 
exact line number, because all four can be found unambiguously in source.

#### What it deliberately leaves out

Update Guard is honest about its edges rather than padding the report with guesses:

 * **Class methods** — many share everyday names (`reset()`, `render()`); telling
   a retired one from an unrelated method needs runtime type information a static
   scan doesn’t have.
 * **Same-name behaviour changes** — when a function keeps its name but changes 
   what it does. This is the commonest cause of breakage and no code reader can 
   detect it, so a clean report means “no known retirements,” not “guaranteed safe.”
 * **jQuery in plainly named variables** — it reports only calls whose receiver 
   is visibly jQuery, because the removed jQuery names are ordinary words like `
   load` and `error` and matching them loosely would bury real findings in noise.
 * **Minified and bundled files**, and third-party libraries inside plugins (`vendor/`,`
   node_modules/`) — not yours to change, and they would dominate the results.

#### Privacy

Everything is read from the copy of WordPress and the plugins already on your site.
No code leaves your server, nothing is fetched from the network, and no AI is involved.
Update Guard bundles no third-party libraries. It only reads — it never edits a 
plugin or makes changes for you.

### Uninstall

Update Guard cleans up after itself. When you delete the plugin from the Plugins
screen, it removes everything it stored:

 * Its options (install date, last-scan record, and onboarding state).
 * Its cached scan reports (stored as transients).

It creates no custom database tables, writes nothing outside your own site, and 
leaves no orphaned data behind. Deactivating the plugin keeps your settings and 
last report; only deleting the plugin runs the clean-up.

### External services

Update Guard performs all of its scanning locally on your own server. It makes no
automatic network requests and sends no data anywhere.

The plugin displays a few ordinary links to information pages for other Rob Art 
plugins, hosted at `robsnow.eu`. These are plain links you may choose to click; 
the plugin never contacts any external service on its own, and no data is transmitted
unless you follow a link.

Support and review links point to WordPress.org, which is governed by the WordPress.
org privacy policy.

## 屏幕截图

[⌊The Dashboard — an at-a-glance summary of your last scan, with a heads-up when
WordPress has an update waiting or has moved on since you last scanned.⌉⌊The Dashboard—
an at-a-glance summary of your last scan, with a heads-up when WordPress has an 
update waiting or has moved on since you last scanned.⌉[

The Dashboard — an at-a-glance summary of your last scan, with a heads-up when WordPress
has an update waiting or has moved on since you last scanned.

[⌊The Report — a scan showing which plugins call retired functions, with file, line
and replacement.⌉⌊The Report — a scan showing which plugins call retired functions,
with file, line and replacement.⌉[

The Report — a scan showing which plugins call retired functions, with file, line
and replacement.

[⌊Appearance exposure — where your plugins lean on WordPress's own admin styling.⌉⌊
Appearance exposure — where your plugins lean on WordPress's own admin styling.⌉[

Appearance exposure — where your plugins lean on WordPress’s own admin styling.

[⌊The Lexicon — a searchable reference of everything your WordPress version has 
retired.⌉⌊The Lexicon — a searchable reference of everything your WordPress version
has retired.⌉[

The Lexicon — a searchable reference of everything your WordPress version has retired.

## 安装

 1. Upload the plugin to `/wp-content/plugins/robart-update-guard`, or install it from
    the Plugins screen in your WordPress admin.
 2. Activate it through the **Plugins** menu in WordPress.
 3. Open the **Update Guard** menu in the admin sidebar and click **Run a scan**.

## 常见问题

### Does a clean report mean it is safe to update?

It means nothing your plugins call has been retired. It cannot promise an update
is safe, because a function can change what it does while keeping its name — the
commonest cause of breakage, and something no code reader can detect. Treat a clean
report as “no known retirements,” not “guaranteed safe.”

### Why didn’t it flag a method I know is deprecated?

Class methods are excluded on purpose. Many share everyday names, and distinguishing
a retired one from an unrelated method needs runtime type information a static scan
doesn’t have. Flagging them would produce more noise than signal.

### Will it slow my site down?

No. Nothing runs on the front end. A scan happens only when you click the button,
and the result is cached for a day.

### Does it change any of my files?

No. Update Guard only reads. It never edits a plugin — it points you to the file
and line so you can decide.

### Does it send my code anywhere or use AI?

No. It reads only the WordPress and plugin files already on your server. Nothing
is sent to any external service and no AI is involved.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Rob Art ](https://profiles.wordpress.org/robword/)

[帮助将「RobArt Update Guard」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/robart-update-guard)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.0.2

 * The “more plugins from Rob Art” links now point to each plugin’s information 
   page rather than a purchase page.

#### 0.0.1

 * Initial release. Report (deprecated function, class, core-file and hook scan),
   Appearance exposure, and Lexicon reference. Reads the site’s own WordPress install;
   no network, no AI.

## 额外信息

 *  版本 **0.0.2**
 *  最后更新：**12 小时前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.2 或更高版本 **
 *  已测试的最高版本为 **7.0.3**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/robart-update-guard/)
 * 标签
 * [compatibility](https://cn.wordpress.org/plugins/tags/compatibility/)[deprecation](https://cn.wordpress.org/plugins/tags/deprecation/)
   [developer](https://cn.wordpress.org/plugins/tags/developer/)[maintenance](https://cn.wordpress.org/plugins/tags/maintenance/)
   [update](https://cn.wordpress.org/plugins/tags/update/)
 *  [高级视图](https://cn.wordpress.org/plugins/robart-update-guard/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/robart-update-guard/reviews/#new-post)

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

## 贡献者

 *   [ Rob Art ](https://profiles.wordpress.org/robword/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/robart-update-guard/)

## 捐助

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

 [ 捐助此插件 ](https://paypal.me/robsnowcreative)