=== N.C Decay Fixer ===
Contributors: queenjoshua, neoncomputer
Tags: seo, search console, content decay, content audit, content refresh
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Find content decay in WordPress, prioritize refresh opportunities, and turn Search Console data into an editorial workflow.

== Description ==

N.C Decay Fixer helps site owners, publishers, content teams, and agencies protect existing organic traffic. It connects to Google Search Console, scans published WordPress content, finds pages losing clicks or rankings, scores refresh opportunities, and keeps the work inside WordPress.

N.C Decay Fixer is the premium workflow layer for teams that want AI refresh briefs, safe refresh drafts, scheduled scans, alerts, exports, support, and additional site activations. The free N.C Decay Scanner plugin handles discovery and prioritization.

= Key Features =

* One-click Google Search Console connection.
* Live scans for posts and pages.
* Opportunity scoring for click loss, impression loss, ranking movement, and demand.
* Dashboard health summary and scan history.
* Saved views, filters, owners, workflow statuses, and notes.
* Optional AI refresh briefs using your OpenAI API key.
* Safe refresh draft creation without overwriting live content.
* CSV exports, alerts, webhooks, scheduled scans, and license-gated paid features.

== Installation ==

1. Upload `content-decay-fixer.zip` from Plugins > Add New > Upload Plugin.
2. Activate N.C Decay Fixer.
3. Open N.C Decay Fixer > Setup.
4. Connect Google Search Console and choose the property for this site.
5. Run a live scan or load demo data to preview the workflow.

== External Services ==

Decay Fixer connects to a few external services only when you use the related feature.

* Google Search Console: used for OAuth sign-in, property selection, and Search Console performance data. The plugin sends the connected site's OAuth tokens and selected property to Google APIs. Google terms: https://policies.google.com/terms and privacy policy: https://policies.google.com/privacy.
* Decay Fixer Connect: the hosted connection service at https://decayfixer.neon.computer/ helps users connect Google Search Console without creating their own Google Cloud app. It receives connection state, site URL, and token data needed to complete the Google OAuth flow when an administrator clicks Connect Google.
* Neon.Computer Support Hub: used for license activation, license checks, license recovery, billing links, and support requests at https://support.neon.computer/. It receives license keys, site URLs, plan/status details, and support form details when those actions are used. Policies: https://support.neon.computer/policies.php.
* OpenAI API: optional AI refresh briefs use the OpenAI API only after a site admin adds an OpenAI API key and enables AI suggestions. The plugin sends selected post content, page metrics, and prompt instructions needed to generate refresh guidance. OpenAI terms: https://openai.com/policies/terms-of-use/ and privacy policy: https://openai.com/policies/privacy-policy/.

The plugin does not send Search Console, OpenAI, license, or support data on activation. These connections are initiated by a site administrator from the plugin settings or workflow screens.

== Frequently Asked Questions ==

= Is Google Search Console required? =

Live scans use Search Console performance data. Demo data is available if you want to preview the workflow first.

= Does the dashboard call Google every time it loads? =

No. Google Search Console is queried when a live scan, single URL scan, property refresh, or scheduled scan runs. Dashboard views, filters, workflow screens, and exports read the latest saved scan results from the site owner's WordPress database.

= Where is scan data stored? =

Processed opportunity rows, last-scan metadata, and up to 10 scan history summaries are stored locally in WordPress options. Search Analytics API responses are cached briefly with WordPress transients to reduce duplicate Google API calls. Settings include controls to clear temporary Search Console cache and saved scan results.

= Is AI required? =

No. AI refresh briefs are optional. The core scan, queue, scoring, workflow, and export features work without AI.

= What happens after a paid purchase? =

Paid checkout is handled by Stripe through the Neon.Computer Support Hub. After checkout, the support hub creates a license key and emails it to the customer with the plugin download, documentation, and support links. N.C Decay Fixer is distributed from Neon.Computer and unlocks premium workflows after the license key is connected in N.C Decay Fixer > Settings > License.

= Can I disconnect external services? =

Yes. Search Console can be disconnected from the plugin settings, the OpenAI API key can be removed at any time, and license details can be disconnected from the License settings module.

= Does Decay Fixer overwrite live content? =

No. Refresh drafts are created separately so editors can review changes before publishing.

= Where do I get support? =

Use the support links inside the plugin or visit https://support.neon.computer/.

== Screenshots ==

1. Dashboard with scan status, content health summary, KPI cards, setup checklist, and scan history.
2. Refresh opportunities queue with saved views, filters, workflow state, owners, notes, and score details.
3. Opportunity detail view with score reasons, workflow actions, notes, AI refresh brief controls, and draft actions.
4. Setup wizard for one-click Search Console connection, scan rules, AI options, license activation, and support links.
5. Settings page with Search Console status controls, property selection, scan rules, notifications, AI settings, license controls, and portability tools.

== Changelog ==

= 1.0.0 =

* Connected paid feature checks to the Neon.Computer support and license API.
* Added support hub links for setup, workflow, license recovery, and billing.
* Kept one-click Google Search Console connection available on the Free plan.
* Improved settings organization, Search Console status controls, and property selection clarity.
* Added data and performance controls for clearing saved scan data and temporary Search Console cache.
* Updated plugin admin branding with the square Decay Fixer logo.
* Documented purchase flow and external service disclosures for market review.

= 0.8.41 =

* Updated landing and plugin UI palette with Decay Fixer accent colors.
* Restyled buttons, active tabs, chips, and key accent surfaces.

== Upgrade Notice ==

= 1.0.0 =

Adds support hub licensing, one-click Search Console connection improvements, paid feature gates, updated branding, and clearer settings.

== License ==

N.C Decay Fixer is licensed under GPLv2 or later. All plugin code, styles, JavaScript, and bundled Decay Fixer artwork are distributed under GPLv2 or later as part of this plugin package.
