=== Makuruwan Arithmetic Human Quiz ===
Contributors: cletous
Tags: captcha, arithmetic, comments, woocommerce, security
Requires at least: 5.6
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Human-verification math quiz for login, comments, WooCommerce reviews, and custom forms. No Google reCAPTCHA.

== Description ==
Makuruwan Arithmetic Human Quiz adds a lightweight arithmetic human-verification challenge to WordPress login, standard WordPress comments, WooCommerce product reviews, and custom forms. It helps keep bots out without relying on Google reCAPTCHA or external services.

Comment and product-review protection is enforced server-side on the normal WordPress comment submission endpoint, so simply removing the visible quiz field does not bypass the check.

== Installation ==
1. Upload the plugin to `/wp-content/plugins/makuruwan-arithmetic-human-quiz/` and activate it.
2. Go to **Settings → Human Quiz** to configure the quiz.
3. Enable or disable protection separately for login, blog/post comments, and WooCommerce product reviews.
4. To protect custom forms, add the shortcode `[makarhq_human_check]` inside your `<form>` markup.

== Frequently Asked Questions ==

= Can I protect only the login form? =
Yes. You can enable or disable login protection in the plugin settings.

= What shortcode should I use in custom forms? =
Use `[makarhq_human_check]` inside your `<form>` tag so the fields are submitted with the form.

= Does it protect WordPress comments? =
Yes. Version 1.1.0 can require the arithmetic challenge before a visitor submits a normal WordPress comment.

= Does it protect WooCommerce product reviews? =
Yes. Product review forms can be protected independently from normal blog/post comments.

= Are logged-in users also asked to solve the quiz on comments and reviews? =
Yes. When comment or product-review protection is enabled, the challenge is rendered for both logged-in and logged-out users using the standard WordPress comment form hooks.

== Screenshots ==
1. Login challenge customization in Admin dashboard on the WordPress login page.
2. Login challenge on the WordPress login page.
3. Link to Customization in Admin dashboard

== Changelog ==

= 1.1.0 =
* Added arithmetic-quiz protection for standard WordPress comments.
* Added separate arithmetic-quiz protection for WooCommerce product reviews.
* Enforced comment/review validation server-side so direct form POSTs cannot bypass the quiz.
* Added separate settings toggles for comments and product reviews, enabled by default.
* Corrected activation-hook registration so plugin defaults are reliably created.
* Corrected the public helper access used for custom-form error messages.

= 1.0.2 =
* Updated prefixes and text domain to comply with WordPress.org guidelines.
* Improved input sanitization and escaping for Plugin Check.

= 1.0.1 =
* Initial public release.
