Title: Refaxination
Author: Butiá Labs
Published: <strong>2026 年 6 月 14 日</strong>
Last modified: 2026 年 6 月 19 日

---

搜索插件

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

![](https://ps.w.org/refaxination/assets/icon-256x256.png?rev=3572073)

# Refaxination

 作者：[Butiá Labs](https://profiles.wordpress.org/butialabs/)

[下载](https://downloads.wordpress.org/plugin/refaxination.1.0.1.zip)

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

 [支持](https://wordpress.org/support/plugin/refaxination/)

## 描述

Refaxination scans `wp-content/uploads` and cross-references every file against 
the database.
 Attachments, post content, post meta, options, and third-party plugins,
to identify files that are no longer referenced anywhere.

**Features:**

 * Full filesystem scan of wp-content/uploads
 * Database reference detection across:
    - WordPress attachments and post content
    - Post meta fields
    - WordPress options
    - ACF (Advanced Custom Fields)
    - Yoast SEO
    - The SEO Framework
 * Safe quarantine/move operations with full audit log
 * Admin dashboard with file and operation history
 * All heavy operations run via WP-CLI to avoid timeouts

**This plugin does not auto-delete anything.** Every file operation is logged and
reversible.

### WP-CLI Commands

Scan the filesystem for files:

    ```
    wp refaxination scan files
    ```

Scan the database for references:

    ```
    wp refaxination scan refs
    ```

Generate a report:

    ```
    wp refaxination report
    ```

Run with `--batch=100` to process in batches (recommended for large sites):

    ```
    wp refaxination scan files --batch=100
    ```

## 安装

 1. Upload the `refaxination` folder to `/wp-content/plugins/`
 2. Activate the plugin through the **Plugins** menu in WordPress
 3. Use the **Tools  Refaxination** menu to view the dashboard
 4. Run scans via WP-CLI (see below)

**Requirements:**

 * PHP 8.1 or higher
 * WordPress 6.0 or higher
 * WP-CLI (for scan operations)

## 常见问题

### Does this plugin delete files automatically?

No. Refaxination only reads and reports. File moves/quarantines are initiated manually
through the admin dashboard or CLI.

### Is it safe to run on a live site?

Yes. Scans are read-only. No changes are made to files or the database during a 
scan.

### What happens to moved files?

All file moves are logged in the `wp_refaxination_moves` table, which is preserved
even after uninstall (unless you explicitly opt out).

### Can I reverse a quarantine operation?

The audit log in the database records the original path of every moved file, so 
files can be manually restored.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Butiá Labs ](https://profiles.wordpress.org/butialabs/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.1

 * Added Brazilian Portuguese (pt_BR) translation
 * Load plugin textdomain so bundled translations are applied

#### 1.0.0

 * Initial release
 * Filesystem and database scanning
 * Admin dashboard with tabs for Dashboard, Files, and Operations
 * WP-CLI integration for scan and report commands
 * Support for ACF, Yoast SEO, and The SEO Framework
 * Quarantine manager with full audit log

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**2 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.5 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 8.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/refaxination/)
 * 标签
 * [audit](https://cn.wordpress.org/plugins/tags/audit/)[files](https://cn.wordpress.org/plugins/tags/files/)
   [media](https://cn.wordpress.org/plugins/tags/media/)[orphaned](https://cn.wordpress.org/plugins/tags/orphaned/)
   [uploads](https://cn.wordpress.org/plugins/tags/uploads/)
 *  [高级视图](https://cn.wordpress.org/plugins/refaxination/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Butiá Labs ](https://profiles.wordpress.org/butialabs/)

## 支持

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

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