=== GSProtect ===
Contributors: wpvipezer
Tags: seo, ai to human content, google spam update, ai, adsense
Requires at least: 5.9
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Protect your site from Google spam updates. Humanizer + SEO: rewrites AI content into natural prose — 100% offline, no API key, no account.

== Description ==

GSProtect keeps your WordPress content on the right side of Google's spam policies, AdSense program policies and helpful-content guidance. It scans every post and page for policy risks (cloaking, scraped content, hidden text, doorway pages, restricted-monetization wording) and AI-style phrasing, then rewrites flagged text into natural, confident prose — before you hit publish.

Everything runs **entirely on your own site**. The analyzer and rewriter are a built-in local engine: no API key, no cloud, no third party ever sees your content.

* 100% offline — zero network calls, zero data leaves WordPress.
* Scans every post and page for Google spam-policy and AdSense-policy risks.
* Rewrites robotic AI content into natural, human-sounding prose.
* No license key, no email, no setup required.

= Content Protection Lab =

* **Site-wide scanner**: audits every post and page for spam-policy issues and AI signals in one server-side pass.
* **Per-post audit**: color-coded issue list (red = critical policy/AI, amber = quality, grey = UX) with live evidence snippets and "Locate in editor" buttons.
* **Posts-list badges**: colored chips in the protection column so you can spot problem content without opening every post.
* Schema, cloaking, duplicate/scraped-block, obituary-spam and restricted-monetization detection, plus a Google spam-update tracker.
* Runs in resumable server-side batches — fast even on millions of posts.

= Refine =

* Rewrites robotic AI phrasing ("It is important to note that", "In conclusion") into natural prose.
* Replaces stiff wording ("utilize", "leverage") with plain words, tightens wordy sentences.
* **Tone presets**: neutral, professional, friendly, conversational or authoritative voice.
* **Readability grade** on every sample: Flesch Reading Ease and grade level, before and after.
* Optional contractions mode ("do not" → "don't").
* Four strengths: **Light**, **Normal**, **Strong**, **Ultra**.
* Preserves links, images, shortcodes, list numbering and HTML.
* Works in the classic editor, block editor, and the refine box below the editor.

= Protect in bulk =

* **Bulk Protect**: one click rewrites every AI-flagged post with the offline engine, chunked in safe batches so huge sites don't freeze.
* Per-post flag to keep any single post's content untouched.

= Settings backup =

* Export/import your settings as a portable JSON file to move tone, strength and automation choices between installs.
* Optional "delete all data on uninstall" preference: off by default. When ticked, deleting the plugin also removes settings, scan history and per-post flags.

= Per-post control =

Each post has a **Refine on publish?** setting on its edit screen, and posts that are too short to be meaningful are skipped automatically.

== Installation ==

= From your WordPress dashboard =

1. Go to **Plugins → Add New**.
2. Search for **GSProtect**.
3. Click **Install Now** and then **Activate**.

= Manual installation =

1. Download the plugin ZIP file.
2. Go to **Plugins → Add New → Upload Plugin**.
3. Upload the ZIP, click **Install Now** and then **Activate**.

After activating, open **GSProtect** in the admin menu. The built-in engine is ready immediately — no setup, no key, no network.

== Frequently Asked Questions ==

= Does this plugin call an AI API? =

No. The analyzer and rewriter are deterministic rules engines running entirely on your site with no network access. Nothing is ever sent anywhere by default.

= Do I need a license key? =

No. The built-in engine works on every site with no key, no email and no trial.

= Is my data collected? =

No. The plugin performs no analytics and no tracking. Scan results live only in your site's own upload directory.

= Will my post fail to publish if something goes wrong? =

No. Processing is wrapped in safe error handling. If anything unexpected happens, the post is published unchanged.

= Does this work with the block editor (Gutenberg)? =

Yes. Refining and auditing work with both the block editor and the classic editor.

= Can I turn off automatic refining for one post? =

Yes. Edit the post and set **Auto process this post** to **No** in the sidebar panel.

= Can I refine only part of a post? =

Yes. In both editors, select the text you want to rewrite and click the Refine button in the toolbar. Only the selection is changed.

== Screenshots ==

1. GSProtect dashboard — settings, privacy and the offline status.
2. AI Lab: scan all posts and pages for spam-policy and AI risks in one pass.
3. AI Content Lab: full results across your website.
4. Posts dashboard: the Protection column shows live issue badges per post.
5. In the editor: the Refine & Protect box rewrites text on your own site.
6. Per-post audit results with evidence and a locate-in-editor link.
7. Post scan details and next-issue guidance.
8. The Protection column even without the Classic Editor plugin installed.

== Changelog ==

= 1.0.0 =
* Initial release of GSProtect.
* Site-wide content scanner for Google spam-policy, AdSense-policy and AI risks.
* Built-in offline rewriting engine: no API key, no cloud, no setup.
* Auto-refine on publish and update.
* Bulk Protect for rewriting every AI-flagged post in one action.
* Tone presets, readability grading and contraction mode for local rewrites.
* Per-post override, settings export/import and optional delete-on-uninstall.

== Upgrade Notice ==

= 1.0.0 =
Initial release. GSProtect is the new home of the offline content-protection and humanizer engine — works immediately after activation.