Auto-Close Comments, Pingbacks and Trackbacks

Changelog

3.1.1

  • Bug fixes:
    • Plugin re-activation now correctly re-schedules the cron job if the scheduler was previously enabled. Previously, the cron remained unscheduled until settings were manually re-saved.
    • Fixed per-post close date scheduling: when both a comments date and a pings date were set on the same post, only the first event was registered. Comments and pings events are now scheduled as distinct cron entries and both fire correctly.
    • Fixed date comparison in the comment/ping closing query to use UTC time against post_date_gmt, preventing posts from being closed at the wrong time on servers where the PHP timezone differs from UTC.

3.1.0

Release post: https://webberzone.com/announcements/auto-close-v3-1-0/

  • New features:

    • Exclude posts in specific categories, tags, or any taxonomy term from having comments or pingbacks/trackbacks closed.
    • Reopen comments automatically when a published post is saved or updated, with a configurable number of days before they are closed again by the cron.
    • Email summary notification after each scheduled cron run, showing the number of comments closed, pings closed, and revisions deleted.
  • Bug fixes:

    • Fixed undefined variable warnings when processing taxonomy term exclusions.
    • Fixed Settings API repeater fields: form submission, hidden input names, and sanitization with row ID lookup.
  • Modifications:

    • Update Settings API and other reusable classes in line with the latest WebberZone plugins.
    • Email summary now uses an HTML template for improved readability.
    • Term exclusion fields now use an autocomplete search (Tom Select) instead of manual ID entry.

3.0.0

Release post: https://webberzone.com/announcements/auto-close-v3-0-0/

Completely rewritten the plugin to use autoloading, namespaces and classes.

  • Features:

    • Added block ping URLs feature and self-pings feature.
    • Introduced a new meta box allowing users to schedule the closure of comments, pingbacks, and trackbacks for the current post.
  • Bug fixes:

    • Fixed PHP error/warnings about loading translations too early.

For older changes, refer to changelog.txt

Plugin Website
Visit website

Author
Ajay
Version:
3.1.1
Last Updated
July 4, 2026
Active Installs
200
Requires
WordPress 6.6
Tested Up To
WordPress 7.0
Requires PHP
7.4

Share Post

Join our newsletter.

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