=== Phone Validator for WPForms ===
Contributors: gogicher
Donate link: https://t.me/advertsales
Tags: wpforms, phone, spam protection, country codes, validation
Requires at least: 5.6
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Advanced phone number validation and anti-spam protection for WPForms Lite & Pro.

== Description ==

Phone Validator for WPForms adds professional phone number validation to block spam and ensure data quality.

Key validations:
* Phone number length limits
* Repetitive digit patterns (e.g., 1111111)
* Blacklisted numbers/patterns
* Country code restrictions (+7, +380, +44, etc.)
* IP throttling to prevent form flooding

Includes detailed logging of blocked attempts and auto-cleanup for performance.

== Installation ==

1. Upload the `phone-validator-for-wpforms` folder to `/wp-content/plugins/`
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Go to **Phone Validator** in admin menu to configure rules
4. Your WPForms are now protected!

== Frequently Asked Questions ==

= Does it work with WPForms Lite? =
Yes, works with both WPForms Lite and Pro (1.6+).

= Where do I see blocked attempts? =
Check **Validation History** page for detailed logs.

= Does it slow down my site? =
No, validation runs only on form submission. Logs stored in files.

== Screenshots ==

1. Validation History - view blocked numbers, errors and submission logs
2. General Settings - configure length limits, country codes and spam protection
3. Advanced Settings - blacklist management and IP throttling options

== Changelog ==

= 1.0.1 =
* Fixed: Correct IPv6 address counting in logging system
* Improved: IP address detection now properly handles both IPv4 and IPv6 formats

= 1.0.0 =
* Initial public release
* Advanced validation, spam protection, logging

== Upgrade Notice ==

= 1.0.1 =
Bug fix for IPv6 logging. Recommended for all users.

= 1.0.0 =
Initial release. No upgrade needed.