=== WEDOS | Protection & Cache Performance ===
Contributors: wedos
Donate link:
Tags: security, cdn, firewall, ddos-protection, waf
Requires at least: 6.9
Tested up to: 6.9
Stable tag: 2.0.21
Requires PHP: 8.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Activate WEDOS Global protection — WAF, DDoS protection and CDN for your WordPress website.

== Description ==

## WEDOS Global (CDN Cache & Security)

WEDOS Global Protection plugin helps site administrators activate WEDOS.protection from inside WordPress. The plugin provides a simple landing page for non-technical users, guided website and DNS setup, a dashboard with protection status, and a consent step before any external service activation request is sent.

### Cloud WAF & DDoS Protection

By filtering traffic and blocking harmful cyberattacks on cloud servers, our WAF provides protection for your WordPress websites without putting any extra load on your local resources.

### Global CDN Cache

The WEDOS Global CDN will ensure a significant increase of your WordPress loading speed, and better overall server response all around the world.

### Links to Documentation and Other Sources

* [WEDOS Global](https://www.wedos.com/protection/)
* [Knowledge Base](https://kb.wedos.com/en/kategorie/wedos-global-en/)
* [Community Help](https://help.wedos.com)


== External Services ==

This plugin connects to the WEDOS Global Protection service (plugin.wedos.global) to:

* Verify domain ownership via a local verification file
* Register and activate the domain protection service
* Check the protection and DNS status

Data sent to the service includes: domain name, server IP address, email address (entered by the admin), and a unique request ID. No personal visitor data is ever transmitted.

The service is provided by WEDOS Group SA, 7 Rue Robert Stumper, L-2557 Luxembourg, EU.

* [Terms of Service](https://www.wedos.com/en/terms-of-service/)
* [Privacy Policy](https://www.wedos.com/en/privacy-policy/)

By activating the plugin and clicking "Create request", you explicitly consent to your domain data being sent to the WEDOS Global Protection service.

== Installation ==

1. Upload the plugin files to the /wp-content/plugins/wgpwpp directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Let the plugin guide you through the service setup process

== Changelog ==

= v2.0.21 =
* Fixed: www. prefix stripped from domain before dashboard-data API call
* Traffic Analytics: empty state message when no data available

= v2.0.20 =
* Dashboard stat tiles: Total requests, Yesterday traffic and HTTP Status Codes
* Traffic Analytics: Top Countries section with live data
* Visitor Geography card hidden when analytics data unavailable
* Security: improved API communication layer

= v2.0.19 =
* Code quality and compatibility improvements

= v2.0.18 =
* Security: improved communication layer

= v2.0.17 =
* Plugin renamed to WEDOS | Protection & Cache Performance
* Fixed: domain with code 2278 now shows DNS setup step instead of fatal error when DNS not yet pointing to WEDOS

= v2.0.16 =
* Smarter page cache: per-page caching, deduplication, automatic maintenance and admin bar flush buttons

= v2.0.15 =
* Verification file: auto-fix permissions on .well-known/ and wedos-verify.txt before write attempt

= v2.0.14 =
* Compliance: reduced tags to 5 per WordPress.org guidelines
* Compliance: added External Services section to README documenting data sent to plugin.wedos.global
* Compliance: WordPress core update notices are no longer suppressed on plugin page

= v2.0.13 =
* Dashboard now shows 'Active — FREE Plugin' or 'Active — WEDOS' badge based on activation source

= v2.0.12 =
* Extended suppression of third-party notices — covers all admin_notices variants, core update nags and footer overlays

= v2.0.11 =
* Suppress third-party admin notices on the plugin dashboard page

= v2.0.10 =
* Fixed fatal error on activation when OPcache serves stale Settings.php from older version

= v2.0.9 =
* Renamed mu-plugin file to wgpwpp-cache.php (wp-content/mu-plugins/wgpwpp-cache.php)

= v2.0.8 =
* Page cache now uses mu-plugin as primary strategy — works independently of other caching plugins
* Falls back to advanced-cache.php drop-in if mu-plugins/ is not writable
* Dashboard shows which strategy is active (mu-plugin or advanced-cache.php)

= v2.0.7 =
* Fixed: www. prefix is now stripped from domain before API calls (API does not accept explicit www.)
* DNS records are still generated for the original host including www.

= v2.0.6 =
* Page cache now checks and attempts to auto-fix file permissions before enabling
* Permission issues shown with confirmation dialog and detailed error info

= v2.0.5 =
* Removed wgp-domain-create-retry flow — domain activation is now handled in a single step

= v2.0.4 =
* Improved domain activation detection for code 2278 — checks A records against known WGP IPs (185.8.237.5, 185.8.237.6), ANAME and www. variant
* CDN Cache purge button disabled until release (01.05.2026)

= v2.0.3 =
* Fixed plugin reset — now fully cleans up all options, cache files, advanced-cache.php and .well-known/ verification files

= v2.0.2 =
* Added WEDOS CDN Cache card in dashboard with Purge CDN Cache button

= v2.0.1 =
* Fixed verification file not being created before ingest call (verify_file_missing)
* Fixed verification file not served correctly behind WordPress rewrite rules
* Fixed unnecessary retry being triggered for all domains (not only disabled)
* Fixed error code 1001 (request pending) incorrectly treated as fatal error
* Added file permission diagnostics when verification file write fails
* Added clear error message in UI when verification file cannot be created
* Added .htaccess and do_parse_request hook to ensure /.well-known/ is served directly

= v2.0.0 =
* Redesigned onboarding and dashboard UI
* Simplified DNS setup flow
* Improved protection status detection
* Performance improvements

= v1.2.2 =
* Buttons for deletion of file cache and CDN cache
* Dashboard improvements
* Service activation improvements

= v1.2.1 =
* Updated FAQ
* Updated plugin description and assets

= v1.2.0 =
* Dashboard page added
* UX optimization

= v1.1.6 =
* UX optimization

= v1.1.5 =
* Expansion of supported translations (SK, HU)

= v1.1.4 =
* WP 6.5 compatibility
* Language texts corrections

= v1.1.3 =
* Page caching improvements
* REST API improvements

= v1.1.2 =
* Page caching improvements
* Security reports improvements

= v1.1.1 =
* bugfix: missing icons

= v1.1.0 =
* Security reports
* Page caching
* CDN Cache

= v1.0.0 =
* Initial release

== Upgrade Notice ==

= v2.0.0 =
Major update with redesigned interface. All your existing settings are preserved automatically.
