Title: Media Trash Button
Author: Katsushi Kawamori
Published: <strong>2020 年 5 月 13 日</strong>
Last modified: 2026 年 3 月 29 日

---

搜索插件

![](https://ps.w.org/media-trash-button/assets/icon-256x256.png?rev=2303815)

# Media Trash Button

 作者：[Katsushi Kawamori](https://profiles.wordpress.org/katsushi-kawamori/)

[下载](https://downloads.wordpress.org/plugin/media-trash-button.1.04.zip)

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

 [支持](https://wordpress.org/support/plugin/media-trash-button/)

## 描述

Add trash button for Media Library.

#### Add button

 * List view only.

#### Button

 * All media items
 * View Trash

#### In wp-config.php, Add the following one line.

    ```
    define( 'MEDIA_TRASH', true );
    ```

## 屏幕截图

[⌊Media Library⌉⌊Media Library⌉[

Media Library

[⌊Trash⌉⌊Trash⌉[

Trash

## 安装

 1. Upload `media-trash-button` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

none

## 评价

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

### 󠀁[perfect](https://wordpress.org/support/topic/perfect-8760/)󠁿

 [mi6telefon](https://profiles.wordpress.org/mi6telefon/) 2021 年 9 月 11 日

Thanks Katsushi Kawamori perfect plugin.I’m happy 🙂

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

### 󠀁[Love it](https://wordpress.org/support/topic/love-it-3336/)󠁿

 [bexpearl](https://profiles.wordpress.org/bexpearl/) 2021 年 1 月 12 日

I deleted an image but was unable to save another image in the same name as the 
deleted image because it was in the trash. I used this plugin and I was able to 
permanently delete the trashed image and save my new image. I love this plugin. 
Thanks to the developers.

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

### 󠀁[Convenient and useful](https://wordpress.org/support/topic/convenient-and-useful-3/)󠁿

 [eugene212](https://profiles.wordpress.org/eugene212/) 2020 年 10 月 12 日

It might be just a small plugin, but it helps to (easily) get rid of accumulated‘
trash’ media files directly from WP admin panel (standard WP does not expose these
files for permanent removal).

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/media-trash-button/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Katsushi Kawamori ](https://profiles.wordpress.org/katsushi-kawamori/)

「Media Trash Button」插件已被翻译至 4 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/media-trash-button/contributors)
为本插件所做的贡献。

[帮助将「Media Trash Button」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/media-trash-button)

### 对开发感兴趣吗?

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

## 更新日志

#### [1.04] 2025/04/18

 * Fix – Loading the management screen.

#### 1.03

Supported WordPress 6.4.
 PHP 8.0 is now required.

#### 1.02

Supported WordPress 5.6.

#### 1.01

Made it list view only.

#### 1.00

Initial release.

## 额外信息

 *  版本 **1.04**
 *  最后更新：**2 月前**
 *  活跃安装数量 **400+**
 *  WordPress 版本 ** 4.7 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 8.0 或更高版本 **
 *  语言
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/media-trash-button/) 、 [English (US)](https://wordpress.org/plugins/media-trash-button/)、
   [Japanese](https://ja.wordpress.org/plugins/media-trash-button/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/media-trash-button/)
   和 [Spanish (Spain)](https://es.wordpress.org/plugins/media-trash-button/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/media-trash-button)
 * 标签
 * [media library](https://cn.wordpress.org/plugins/tags/media-library/)[trash](https://cn.wordpress.org/plugins/tags/trash/)
 *  [高级视图](https://cn.wordpress.org/plugins/media-trash-button/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Katsushi Kawamori ](https://profiles.wordpress.org/katsushi-kawamori/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/media-trash-button/)

## 捐助

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

 [ 捐助此插件 ](https://shop.riverforest-wp.info/donate/)