=== Scheduled Comments Closer ===
Contributors: monzur
Donate link: https://profiles.wordpress.org/monzur/  
Author URI:  https://profiles.wordpress.org/monzur/
Plugin URI:  https://wordpress.org/plugins/scheduled-comments-closer
Tags: comments auto close, comments limiter, lightweight, security
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 0.0.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically close comments based on age or comment count, with per-post overrides and optional filters.

== Description ==
**Scheduled Comments Closer** helps you manage comments smartly. Set global rules to close comments after X days or Y approved comments, with the flexibility to override settings on any individual post or page. It also offers optional filters to block comments containing URLs or email addresses, and always blocks scripts for security—all without adding bulk to your site.

== Installation ==
1. Upload the `scheduled-comments-closer` folder to `/wp-content/plugins/`
2. Activate the plugin via the **Plugins** menu
3. Go to **Settings → Discussion** to set global rules and filter options
4. Edit any post or page and use the **Comment Close Settings** box (side panel) to override

== Frequently Asked Questions ==
= How do I override settings per post? =
Use the **Comment Close Settings** box when editing posts/pages. Leave fields blank to use global defaults.

= Will it slow down my site? =
No. It uses WordPress’ built-in object caching and no extra tables—calls only run when checking comments or saving posts.

= Can I allow links or emails? =
Yes. Under settings, you can enable or disable link and email blocking. Script blocking is always active for safety.

= Will it work on pages or custom content? =
It supports posts and pages by default. If you need other post types, let me know—future updates may include that.

= Is this plugin secure? =
Yes. It always blocks scripts in comments and uses WordPress best practices—nonces, sanitization, escaping, and proper permissions.

== Changelog ==
= 0.0.1 =
* Initial release  
* Global rules: close comments by age or count  
* Per-post override support  
* Optional link/email blocking; always blocks scripts  
* Lightweight, no external dependencies, GPL-licensed

== Upgrade Notice ==
No upgrade notice for this first release.

== License ==
© 2025 Monzur  
Released under GPL v2 or later. https://www.gnu.org/licenses/gpl-2.0.html
