這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Trash Manager

外掛說明

WordPress 2.9 introduced compete new functionality – Trash. By default it is not possible to directly delete posts, pages and comments – you have to move them to Trash first, and then delete them. This is of course helpful for novice users, but for advanced ones this is only an obstacle.

It is possible to disable Trash completely (by defining EMPTY_TRASH_DAYS to 0 in your wp-config.php file, but there is no way to have both Trash enabled and be able to delete without moving to Trash at the same time.

Another change done in WordPress 2.9 is removal of all ‘Are you sure?’ dialogs. For trashing posts/pages/comments it is fine (although many users may expect to confirm this, like in MS Windows). Unfortunately there is no confirmation dialog when you remove trashed item completely, so you have to be more careful than before when you click somewhere.

In order to resolve above issues, I wrote Trash Manager plugin. It adds ‘Delete Permanently’ link to post, page and comments list, so you can delete them directly without moving them to Trash first. It also restores ‘Are you sure?’ dialogs, so you do not have to take extra care when you click.

Available translations:

  • English
  • Polish (pl_PL) – done by me
  • Dutch (nl_NL) – thanks Rene
  • Japanese (ja_JP) – thanks Fumito Mizuno
  • Belorussian (be_BY) – thanks Marcis G.

Changelog

安裝方式

  1. Upload trash-manager directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure and enjoy 🙂

使用者評論

There are no reviews for this plugin.

參與者及開發者

以下人員參與了開源軟體〈Trash Manager〉的開發相關工作。

參與者

將 Trash Manager 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2

  • Added configuration screen;
  • Updated Polish translation;
  • Added Japanese translation (thanks Fumito Mizuno);
  • Added Belorussian translation (thanks Marcis G.)

1.1.1

  • Added Dutch translation (thanks Rene);
  • Code cleanup

1.1

  • Fix: WP always moves posts/pages/comments to trash instead of deleting them directly – added workaround;
  • Added Polish translation

1.0

  • Initial version