This file contains the old changelog entries. You can always find the latest entries in the readme.txt

= 3.1.3 =

* Bug fixes:
    * Fixed settings falling back to 0 instead of their intended default when the saved settings did not yet contain that option, which affected every checkbox and every text, number and comma-separated field. This applied to newly introduced settings on existing installs; settings saved from the settings page were unaffected.
    * Fixed the `acc_settings_defaults` filter being ignored when a default was read outside the admin area.
    * Fixed settings on a multisite network reading another site's values in the same request after a `switch_to_blog()` call, such as during network activation.

* Improvements:
    * Setting defaults are now resolved from a single lightweight list instead of building every settings field, so reading an option early in the page load no longer risks loading translations too early.

= 3.1.2 =

* Bug fixes:
    * Fixed an incorrect early translation loading notice in WordPress 6.7 and later by initializing admin components on the `init` action.

= 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/](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/](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.

= 2.2.0 =
Release post: https://webberzone.com/blog/auto-close-v2-2-0/

* Enhancements:
    * The comment count for the post will be updated when deleting Pingbacks/Trackbacks
    * Settings page now uses the latest version of the WebberZone Settings_API class

= 2.1.0 =
Release post: https://webberzone.com/blog/auto-close-v2-1-0/

* Features:
    * New revisions tab with settings to control the number of revisions by post type
    * New button in Tools page to delete all revisions

= 2.0.0 =
* Features:
    * New Tools page with several buttons to open, close and delete comments, pingbacks and trackbacks. You can find the link in the Settings page under the main header
    * New button to delete all pingbacks and trackbacks in the Tools page
    * Activating the plugin on Multisite should upgrade settings from v1.x
    * Uninstalling the plugin on Multisite will delete the settings from all sites
* Enhancements:
    * Migrated options to the Settings API
* Modifications:
    * Main plugin file has been renamed to autoclose.php
    * Cron hook renamed from `ald_acc_hook` to `acc_cron_hook`

= 1.6 =
* Fixed: Bug where comments on attachments did not get closed
* Fixed: JavaScript bug when saving options in Admin area

= 1.5 =
* New: Custom post type support. Now close comments on posts, pages, attachments and your custom post types!
* Modified: Language initialisation
* Modified: More code cleaning
* New: Spanish and Serbian languages thanks to <a href="https://firstsiteguide.com/">Ogi Djuraskovic</a>

= 1.4 =
* New: Responsive admin interface
* New: Plugin is now ready to be translated
* Modified: Massive code rewrite and cleanup

= 1.3.1 =
* New: Now separately choose to close on posts and pages. Also added buttons to open all comments and open all pings

= 1.2 =
* New: Option to delete post revisions. Minor bug fix. Includes plugin uninstaller.

= 1.1 =
* New: Option to keep comments / pingbacks / trackbacks on certain posts open

= 1.0 =
* Release
