=== NeoLite - Disable Reviews, Comments & Spam for WooCommerce ===
Contributors: mtpamir
Tags: woocommerce, reviews, disable reviews, disable comments, spam protection
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
WC tested up to: 11.0
Stable tag: 1.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A zero-bloat utility to stop review spam. Disable guest reviews for WooCommerce and require login for site-wide comments with one click.

== Description ==

Stop review spam and unwanted feedback in its tracks with **NeoLite - Disable Reviews**. 

Are bots and guest spammers cluttering your product pages with low-quality content? Most store owners face a dilemma: keep reviews and comments open and deal with endless spam, or turn them off completely and lose all their hard-earned social proof. 

**NeoLite - Disable Reviews** provides the perfect middle ground. Our lightweight, performance-optimized plugin allows you to:
* **Block Review Spam Instantly:** Restrict WooCommerce review submissions to logged-in customers only, effectively neutralizing bots.
* **Preserve Social Proof:** Keep your valuable 5-star ratings and existing customer feedback visible while disabling new submissions.
* **Developer Friendly:** Zero-bloat code that follows WordPress best practices and won't slow down your site.

Whether you're running a boutique shop or a high-volume enterprise store, NeoLite gives you the tools to maintain a professional, spam-free environment without sacrificing trust.

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Configure settings in the **NeoPlugin** menu in your sidebar under the **Disable Reviews**.

== FAQ ==

= Will this plugin delete my existing reviews? =
No. NeoLite only controls the visibility of the review *submission form*. All your existing reviews remain safely stored in your database and can be displayed even when new submissions are disabled.

= Can I allow only registered users to leave reviews? =
Yes! By using the "Logged-in Users Only" setting, you ensure that only real, registered users can post content, significantly reducing spam.

= Does this work with modern Gutenberg/Block themes? =
Yes, NeoLite is fully compatible with both Classic and Block-based themes. It hooks directly into the WooCommerce review system to ensure consistent behavior regardless of your design.

= Will it slow down my site? =
Absolutely not. NeoLite is built with performance as a priority. It uses minimal resources and only executes logic where necessary, ensuring zero impact on your page load speeds.

== Screenshots ==

1. **Spam-Free Product Pages** - View your existing social proof while the submission form is safely hidden from guests.
2. **Global Control Center** - Easily toggle review visibility and guest restrictions from the unified NeoLite dashboard.

== Changelog ==

= 1.1.1 =
* **Compatibility:** Declared compatibility with the WooCommerce Cart and Checkout blocks — the plugin touches reviews and comments only, so WooCommerce no longer lists it as "uncertain" on the compatibility screen.
* **New:** A "Useful Free Plugins" tab linking to the author’s other free plugins, and a help sidebar on the settings screen with quick links to the documentation, the support forum and reviews.
* **Compatibility:** Tested up to WordPress 7.1.

= 1.1.0 =
* **New:** Restored the "Disable Global Guest Comments" option, which requires visitors to log in before commenting anywhere on the site. It previously could not be enabled from the settings screen.
* **Fix:** The WooCommerce guest-review restriction no longer triggers an "incorrect usage" notice on some themes; product detection is now query-safe and applies only to product reviews.
* **Fix:** Regenerated the Composer autoloader (a stale mapping could cause a fatal error) and committed a lockfile for reproducible builds.
* **Fix:** Uninstall now clears the activation transient and runs across every site on multisite.
* **Improvement:** Admin styles now load only on this plugin's own settings page.
* **Maintenance:** Added coding-standard and static-analysis tooling, a translation template, and a `.distignore`-driven build.

= 1.0.1 =
* Updated settings page design to dynamically support WordPress Admin color schemes.
* Replaced hardcoded CSS colors with theme variables for a more unified layout.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.1.0 =
Restores the global guest-comment lockdown, fixes a WooCommerce review notice and a possible autoloader fatal, and completes uninstall cleanup.
