=== AddonLogic Guest Comment Moderation ===
Contributors: snehalpancholi
Tags: comments, moderation, spam, guests, approval
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Auto-hold first-time guest comments and auto-approve once a guest has an approved comment history.

== Description ==

AddonLogic Guest Comment Moderation intercepts new guest comments and holds them in the moderation queue until the commenter has at least N previously approved comments (configurable threshold). Once approved, any remaining held comments from that email are released automatically.

**Features:**
* Configurable approval threshold (default: 1 prior approved comment)
* Optional enforcement for registered users too
* Per-email allowlist for trusted addresses
* Built-in panel on the settings page listing current held guest comments with quick Approve / Trash links
* Zero custom database tables — uses WordPress comment status

== Installation ==

1. Upload the `guest-comment-moderation` folder to `/wp-content/plugins/`.
2. Activate through the **Plugins** screen.
3. Go to **Settings → Guest Moderation** to configure options.

== Frequently Asked Questions ==

= Will this conflict with Akismet or other spam plugins? =
No. The plugin uses `pre_comment_approved` which runs before Akismet and respects the `spam` status.

= What happens to held comments when the threshold is met? =
The `comment_approved_comment` hook fires and auto-approves all matching held comments from the same email in one pass.

== Changelog ==

= 1.0.0 =
* Initial release.
