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.

سکرین شۆتەکان

پێداچوونەوەکان

تشرینی یەکەم 4, 2020
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 پێداچوونەوە

بەشداربووان و گەشەپێدەران

“Trash Fail Safe” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.

بەشداربووان

“Trash Fail Safe” وەربگێڕە بۆ زمانەکەی خۆت.

دەتەوێت بەشداربیت لە گەشەپێدان؟

گەڕان لە کۆدەکەدا بکە، سەیری تەمارگەی (SVN) بکە، یان بەشداربە لە ڕووداوتۆماری گەشەپێدان لە ڕێگەی (RSS).

ڕووداوتۆمارگەریی گۆڕین

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