Delete & Disable Comments

Changelog

1.0.6

  • Changed CSV backups to stream through an authenticated administrator download instead of writing public files under wp-content/uploads/.
  • Removed stale backup object caching so downloads reflect the current comments table.

1.0.5

  • Added complete EU locale translation files and compiled .mo files for the admin UI.
  • Kept complete German translations (de_AT, de_DE) for admin UI, AJAX messages, and maintenance notices.
  • Updated the translation template (.pot) and fixed the hardcoded “Error loading status” JavaScript message.

1.0.4

  • Plugin Check compliance: Tested up to 7.0, sanitized toggle AJAX input, documented intentional bulk SQL queries.
  • Version bump for WordPress.org submission readiness.

1.0.3

  • Fixed the disable-comments toggle so it no longer runs a synchronous bulk update on wp_posts during AJAX.
  • Bulk-closing existing posts is now performed only through Close all comments now or on plugin activation when disable mode is already enabled.
  • Hardened toggle AJAX input handling and admin JavaScript error recovery.
  • Removed Cypress E2E tests from the repository; PHP smoke tests remain under tests/php/.

1.0.2

  • Fixed ddwpc_init() so it no longer iterates over every post on every page request.
  • Bulk close-comments now runs only when the administrator clicks Close all comments now.
  • Bulk close operation uses a single $wpdb update without triggering save_post, transition_post_status, or wp_after_insert_post.
  • Settings screen shows the count of posts with open comments or pings and provides a one-click close button.
  • Added helpers: ddwpc_is_disable_comments_enabled(), ddwpc_apply_disable_comments_defaults(), ddwpc_close_all_post_comments_in_db(), and ddwpc_count_posts_with_open_comments().

1.0.1

  • Renamed plugin prefixes from ddc_ to ddwpc_ across PHP and JavaScript.
  • Removed the manual load_plugin_textdomain() call because WordPress 4.6+ auto-loads plugin translations.
  • Removed direct core file loads.
  • Moved CSV backups under wp-content/uploads/delete-disable-comments/.

1.0.0

  • Initial release with spam deletion, delete-all with backup, and site-wide comment disable.

Plugin Website
Visit website

Version:
1.0.6
Last Updated
May 26, 2026
Requires
WordPress 5.0
Tested Up To
WordPress 7.0
Requires PHP
7.2

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.