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

Disable Site Delete

描述

Disable Site Delete plugin only allows network administrators to delete a blog/site on a WordPress Multisite network. It does not allow blog owners to delete their blogs.

It works by doing that in 3 steps:-

  • Removes the delete Site link from tools menu for non network admins
  • Breaks out of wpmu_delete_blog function to avoid deletion of blog
  • hacks around option to avoid sending the delete confirmation mail to blog owner

Need more details, please visit this post on BuddyDev

螢幕截圖

  • No Delete Menu for Non Network Administrator screenshot-1.png.
  • Here is the message shown to the blog owner if they somehow manage to open the link screenshot-2.png

安裝

  1. Download disable-site-delete.zip and extract(unzip)
  2. Upload disable-site-delete to the /wp-content/plugins/ directory
  3. Network Activate the plugin through the ‘My Sites->Network Admin->Plugins’ menu in WordPress Multisite
  4. have fun!

常見問題

Does it completely removes the capability to delete blog for blog admins/owners

That’s right. Only network administrator can delete a blog.

How to localize

Please look into the ‘languages’ directory of this plugin. you will find the po file. Just translate it and save there as your_locale.mo(e.f en_US.mo)

Is there an alternative?

Yes, there is a plugin by Ryan Hellyer Delete Delete Site but that only removes the menu link and does not actually prevent users from doing it completely(try typing the url and you will know what I mean).

I have more Questions?

We will love to hear your feedback at BuddyDev

評價

閱讀全部2個評價

貢獻者及開發者

“Disable Site Delete” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Disable Site Delete 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0

Initial release