Linux 软件免费装

Maybe Perma Delete

开发者 featurenotabug
更新时间 2026年5月15日 18:13
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

permanent delete force trash esc

下载

1.0.0

详情介绍:

It can be quite annoying when you want to delete a post but it only has a Trash link. You then need to go into the trash to delete it for real. This plugin allows you to delete a post permanently by turning the trash links into a permanent delete link when you hold down the Esc key on your keyboard. Maybe Perma Delete adds a convenient way to permanently delete content directly from the admin without the risk of pressing it accidentally:

安装:

  1. Upload the maybe-perma-delete folder to the /wp-content/plugins/ directory, or install the plugin via the WordPress Plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to any posts, pages, or custom post type list, or open a single post edit screen, and use the Esc key with the delete actions as described.

常见问题:

Does this replace the default trash behavior?

No. The default Move to Trash behavior remains available everywhere. Maybe Perma Delete only adds an additional way to permanently delete items when you explicitly choose it.

Does this work with custom post types?

Yes, the plugin hooks into the standard admin post list and edit screens, so any custom post type that appears there will inherit the same behavior.

Can I recover items that I permanently delete?

No. When you use Delete permanently, the content is hard-deleted from the database. Make sure you have backups if you need the ability to restore deleted content.

Does this work with media / the media library?

Yes, but it only makes sense when media trash is manually enabled in your WordPress configuration. By default, media files are permanently deleted already. To enable trash for media, add the following to your wp-config.php: define( 'MEDIA_TRASH', true ); Once enabled, media files will have a Trash action, and Maybe Perma Delete will work with them just like posts and pages.

Does this affect front-end behavior?

No. The plugin only modifies admin-side delete options and JavaScript. It doesn’t change your front-end or theme output.

更新日志:

1.0.0 Initial release: