Title: Trash Fail Safe
Author: mikehealy
Published: <strong>2020 年 4 月 18 日</strong>
Last modified: 2025 年 12 月 4 日

---

搜索插件

![](https://ps.w.org/trash-fail-safe/assets/banner-772x250.png?rev=2366856)

![](https://ps.w.org/trash-fail-safe/assets/icon-256x256.png?rev=2286106)

# Trash Fail Safe

 作者：[mikehealy](https://profiles.wordpress.org/mikehealy/)

[下载](https://downloads.wordpress.org/plugin/trash-fail-safe.1.2.2.zip)

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

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

## 描述

If you use the WordPress admin area on a mobile device, or have cats sometimes walk
across your keyboard it can be good to have a fail-safe confirmation before permanently
deleting posts from the Trashed items.
 This plugin adds simple JS to the admin 
area to do just that.

## 屏幕截图

 * [[

## 评价

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

### 󠀁[Best support](https://wordpress.org/support/topic/best-support-199/)󠁿

 [katharina001](https://profiles.wordpress.org/katharina001/) 2022 年 3 月 14 日

The Plugin is easy to use and works perfect. Support is great 🙂

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

### 󠀁[Highly Recommended!](https://wordpress.org/support/topic/highly-recommended-443/)󠁿

 [‪Orr Burgel‬‏](https://profiles.wordpress.org/burgil/) 2020 年 10 月 4 日

This plugin simply works, I also verified that it does not Affect the site loading
speed and it doesn’t Combined with the following line on your wp-config.php file
it just makes it super perfect to use (above the last line – don’t put it at the
bottom!) //Disable Trash define(‘EMPTY_TRASH_DAYS’, 0 ); OR //Auto Clean Trash After
15 Days Instead Of 30 //define( ‘EMPTY_TRASH_DAYS’, 15 ); Bonus: //Disable Revisions
define( ‘WP_POST_REVISIONS’, false ); OR //Spam less history saves of post edits
and auto save posts while you write less often //define(‘AUTOSAVE_INTERVAL’, 120);//
define(‘WP_POST_REVISIONS’, 10);

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/trash-fail-safe/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ mikehealy ](https://profiles.wordpress.org/mikehealy/)

[帮助将「Trash Fail Safe」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/trash-fail-safe)

### 对开发感兴趣吗?

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

## 更新日志

1.2.1 – 2025-01-25
 Fixing internal issue with trunk/stable release in plugin repo

1.2.0 – 2022-05-07
 Avoid double confirmation when deleting media library item

1.1.0 – 2022-03-12
 Require confirmation before bulk deleting posts from trash using
Bulk Actions

1.0.0 – 2022-01-27
 Tested with WordPress 5.9

1.0.0 – 2021-07-14
 Tested with WordPress 5.8 RC2

1.0.0 – 2020-12-06
 Tested with WordPress 5.6

1.0.0 – 2020-08-22
 Tested with WordPress 5.5 Avoid delete confirmation on media
items as WordPress already has its own confirmation for them.

0.9.1 – 2020-04-20
 Tested with older WordPress version (4.7)

0.9 – 2020-04-16
 – Initial stable release. Tested on Chrome, Chrome mobile, Firefox,
Safari, Edge, IE11

## 额外信息

 *  版本 **1.2.2**
 *  最后更新：**6 月前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 4.7 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 5.3 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/trash-fail-safe/)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[confirmation](https://cn.wordpress.org/plugins/tags/confirmation/)
   [failsafe](https://cn.wordpress.org/plugins/tags/failsafe/)[trash](https://cn.wordpress.org/plugins/tags/trash/)
 *  [高级视图](https://cn.wordpress.org/plugins/trash-fail-safe/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ mikehealy ](https://profiles.wordpress.org/mikehealy/)

## 支持

最近两个月解决的问题：

     总计 1，已解决 0

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