=== WPG Site Doctor ===
Contributors: rakeshraja
Tags: site health, diagnostics, maintenance, error log, site report
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Plugin URI: https://wpguru.in/

Plain-English site health: score, checks, safe maintenance, error insights, sanitized reports, and developer help.

== Description ==

RakeshRaja Site Doctor is a local site health assistant for WordPress admins. It scans your site, explains issues in plain English, offers carefully confirmed maintenance, and helps you share a sanitized report when you need developer support.

= What’s included =

* **Dashboard** — health score (0–100), coverage, last checked time, Fix First list, category tiles, and local score history.
* **Health Checks** — issue-first results with category and status filters, guided links to native WordPress screens, and optional Elementor / WooCommerce checks when those plugins are active.
* **Maintenance** — expired transients, old revisions, spam comments, rewrite flush, and Site Doctor cache clear. Preview counts, idle cards when there is nothing to do, and a second confirmation step before anything runs.
* **Errors & Logs** — debug-log incidents grouped with counts, first/last seen, likely source when evidenced, and filters.
* **Site Report** — Overview, Attention Required, Health Breakdown, Next Steps, share/manifest, plus a sanitized technical export/download.
* **Get Help** — support form with consent, optional sanitized report attach, screenshot upload (JPG/PNG/GIF/WebP), email / WhatsApp contact, and local request history.

= Private by design =

All checks run on your site. No telemetry and no automatic outbound diagnostics. Data leaves the site only when you submit Get Help (email) or open WhatsApp yourself. Reports redact common secrets and full paths — always review before sharing.

== Installation ==

1. Upload the plugin folder to `wp-content/plugins/`, or install via Plugins → Add New.
2. Activate **RakeshRaja Site Doctor**.
3. Open **Site Doctor** in wp-admin to view your health score and run a fresh check.

== Frequently Asked Questions ==

= Is my site data sent anywhere? =

No automatic sending. Checks stay local. Only a Get Help form submit (with your consent) emails support details you choose to include.

= Can it fix my site automatically? =

No auto-fixes. Maintenance actions are previewed and confirmed. Some delete data permanently (old revisions, spam) — take a backup first.

= Do I need Elementor or WooCommerce? =

No. Extra checks appear only when those plugins are active.

= Is there a premium version? =

No. The free plugin includes all features. Hands-on help is available via Get Help / Ko-fi support links.

= How do I contact the developer? =

Use **Get Help** in Site Doctor, or the WPGuru / Ko-fi links on the Plugins screen and in the plugin header.

== Privacy ==

* Diagnostics run locally; no tracking or remote diagnostic service.
* Get Help emails only what you submit after consent; report attach is off by default.
* Screenshots are optional (JPG/PNG/GIF/WebP only).
* Support request summaries and scan history stay in your database and are never synced out.

== Screenshots ==

1. Dashboard — health score, Fix First, category tiles, and findings.
2. Health Checks — issue-first list with filters.
3. Maintenance — action cards with preview counts and confirmation.
4. Site Report — overview, attention items, and technical export.
5. Get Help — support form with optional report attach.

== Changelog ==

= 1.2.0 =
* Dashboard with health score (0–100), coverage, Fix First, category tiles, live findings, and local score history.
* Health Checks with issue-first ordering, category/status filters, guided links, and optional Elementor / WooCommerce checks.
* Maintenance with preview counts, idle state when nothing to do, and a second confirmation step before any change.
* Errors & Logs with grouped incidents, counts, first/last seen, and source filters.
* Site Report with Overview, Attention Required, Health Breakdown, Next Steps, and sanitized technical export/download.
* Get Help with consent-gated support form, optional report attach, screenshot upload, email / WhatsApp contact, and request history.
* Shared redaction for secrets and full paths across errors, reports, and support mail.
* Plugins screen links for WPGuru and Ko-fi support.

= 1.1.0 =
* Site health score (0–100) with plain-language verdict and cached re-check.
