Turn Comments Off source code
By Happy Prime, on WordPress.org since 2022. 1,000+ active installs.
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. Below is its source code for every one of its 11 releases, what changed in the latest one, and how often it ships.
What changed in 2.0.2
Released May 27, 2026, 3 months after 2.0.1- 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.
3 files changed since 2.0.1: 2 modified, 1 added, 0 removed.
- plugin.php modified, +354 bytes
- readme.txt modified, +287 bytes
- blueprint.json added
Release history
11 releases since April 2022- 2.0.2 May 27, 2026 Fix unreliable block-unregistration asset enqueue.
- 2.0.1 Feb 10, 2026 No functional changes.
- 2.0.0 Jun 11, 2025 Fix a fatal PHP error when a comment query requests a count.
- 1.3.2 Nov 6, 2024 No functional changes.
- 1.3.1 Jul 19, 2024 No functional changes.