Turn Comments Off

外掛說明

Activate this plugin to immediately remove all comment functionality from WordPress.

  • Stop comments and pingbacks on all existing and future content.
  • Remove “Discussion” from Settings in the admin menu.
  • Remove “Comments” from the admin menu.
  • Remove the comments bubble from the admin bar.
  • Remove “Recent Comments” from the site activity dashboard widget.
  • Remove the comments feed link.
  • Unregister all core comment blocks in the editor.
  • Remove “Manage Comments” from My Sites on multisite. (If network activated.)

No configuration necessary (or available).

If you find something we missed, please let us know!

使用者評論

2025 年 5 月 27 日
Written by the top notch people at happy prime. “co-owner and lead developer at Happy Prime, has been building on the web for 30 years. He’s a WordPress core developer, has contributed to the last 28 major releases of WordPress…” etc.
2023 年 8 月 1 日
No more reference whatsoever to the Comments section in the admin area… no Settings to fiddle with — just results (or lack thereof). Comments have been a haven for straight crap for a long time anyway. Good riddance!
閱讀全部 1 則使用者評論

參與者及開發者

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

參與者

〈Turn Comments Off〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Turn Comments Off〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

2.0.2

  • Fix unreliable block-unregistration asset enqueue.
  • Guard against fatal count() on admin bar blogs.
  • Guard count key in comments_pre_query filter.
  • Add over-cautious check for a valid admin bar object.
  • Update development dependencies.
  • Confirm WordPress 7.0 support.

2.0.1

  • No functional changes.
  • Update development dependencies.
  • Confirm WordPress 6.9 support.

2.0.0

  • Fix a fatal PHP error when a comment query requests a count.
  • Note: If you had manually removed our comments_pre_query filter for any reason,
    (you likely weren’t), you’ll need to adjust your code to account for the new
    namespaced function.
  • Update development dependencies.

1.3.2

  • No functional changes.
  • Update development dependencies.
  • Confirm WordPress 6.6 support.

1.3.1

  • No functional changes.
  • Replace @wordpress/scripts dependency with leaner configuration.
  • Confirm WordPress 6.5 support.

1.3.0

  • Remove “Manage Comments” from site menus under My Sites on multisite.
  • Confirm WordPress 6.4 support.
  • Update wordpress/scripts dependency to 26.15.0.
  • Improve linting configuration.

1.2.1

  • No functional changes, only custodial.
  • Confirm WordPress 6.2 support.
  • Update wordpress/scripts dependency to 26.1.0.
  • Improve linting configuration.

1.2.0

  • Update the list of blocks unregistered to include latest from Gutenberg and WordPress.
  • Update wordpress/scripts to 24.6.0.
  • Refactor how the list of blocks is managed to make future maintenance easier. Props @huubl.
  • Only unregister blocks that are registered. Props @huubl.

1.1.1

  • Unregister core comment blocks in the editor.

1.0.2

  • Add automated GitHub deployments to wp.org.

1.0.1

  • Add PHP namespace.

1.0.0

  • Initial release.