=== Digital Market AI Guard ===
Contributors: digital-market
Tags: security, ai, scanner, performance, wordpress
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 7.1
Stable tag: 1.2.0
License: GPLv2 or later

== Description ==
WordPress security, health checks, controlled repair actions and optional AI-assisted diagnostics. The admin panel follows the Digital Market module design with RO/EN interface.

Features:
* Non-intrusive health scan: WordPress updates, sensitive file permissions, administrator accounts, error display.
* Optional e-mail alerts when automatic scans find medium or high severity issues.
* Login protection: failed attempt rate limit and XML-RPC switch.
* Backend hardening: block user enumeration, hide the WordPress version, disable the admin file editor.
* Configurable list of sensitive files checked for write permissions.
* Scheduled scans (off, hourly, twice daily, daily) with adjustable history retention.
* Predefined safe repairs: permalink regeneration, expired transient cleanup, auto draft cleanup, spam comment deletion.
* Event history stored in a dedicated table.
* RO/EN interface language toggle.
* Optional OpenAI integration for contextual recommendations (never executes generated code).

== Important ==
AI-ul nu execută cod generat. Reparațiile sunt acțiuni predefinite în plugin.

== Changelog ==

= 1.2.0 =
* Admin redesign matching the Digital Market Site Monitor design: hero header, tab navigation, section headers, cards, switches and save bar.
* New Sensitive files tab with editable monitored file list.
* New Notifications tab with e-mail alerts for scan issues.
* Security tab gained user-enumeration blocking, WordPress-version hiding and admin file editor toggle.
* Repairs gained auto-draft and spam comment cleanup.
* Full RO/EN translation of the interface.
* JS tab switching with deep links.

= 1.1.0 =
* Scan schedule settings, history retention and cron resync on save.
* Pruning of expired events on each scan.
* Additional security rate-limit fix and translated login errors.
* Readme and license metadata.

= 1.0.0 =
* Initial release: scan, login rate limit, logging, controlled repairs, optional AI analysis.