=== CategorySEO Analyzer ===
Contributors: idhro
Tags: woocommerce, seo, categories, audit, optimization
Requires at least: 5.0
Tested up to: 6.5
Stable tag: 1.1.3
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

The ultimate WooCommerce category SEO audit and optimization tool.

== Description ==

CategorySEO Analyzer helps you audit, analyze, and optimize your WooCommerce product categories for better SEO performance.

= Key Features =

* **Category Audit** - Analyze all categories with SEO metrics
* **SEO Score** - Get a score for each category
* **Recommendations** - Actionable SEO improvements
* **Smart Filters** - Find problem categories quickly
* **CSV Export** - Export data for further analysis
* **AI Integration** - Generate SEO content (Pro)
* **Email Reports** - Scheduled reports (Pro)
* **Unlimited Categories** - Full access (Pro)

= Free vs Pro =

| Feature              | Free        | Pro         |
|----------------------|-------------|-------------|
| Category Audit       | 5 cats      | Unlimited   |
| CSV Export           | ✅          | ✅          |
| Basic Filters        | ✅          | ✅          |
| SEO Score            | ✅          | ✅          |
| AI Content Gen       | ❌          | ✅          |
| Bulk Actions         | ❌          | ✅          |
| PDF Export           | ❌          | ✅          |
| Scheduled Reports    | ❌          | ✅          |

== Installation ==

1. Upload the `categoryseo-analyzer` folder to `/wp-content/plugins/`
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Follow the setup wizard that appears after activation
4. Access the audit page at your chosen URL (default: /seo-category-audit)

== Frequently Asked Questions ==

= What does the free version include? =

The free version allows you to analyze up to 5 WooCommerce categories with full audit features including SEO score, recommendations, filters, and CSV export.

= How do I get the Pro version? =

Visit https://idh.ro/categoryseo-analyzer-pro to purchase. License keys are $49/year or $149 lifetime.

= What AI providers are supported? =

OpenRouter (GPT-4, Claude, Gemini), OpenAI (GPT-4, GPT-3.5), and Anthropic (Claude).

= Is the plugin compliant with the EU AI Act? =

Yes. The plugin is designed in accordance with industry best practices and the EU AI Act recommendations:
1. Recommender tool only: The plugin generates private, draft-only suggestions inside your WordPress admin dashboard. It does not auto-publish text or metadata to your live storefront. You retain full final control over what content is applied and published.
2. API Key Transparency: You use your own API keys (OpenAI, Anthropic, etc.). The plugin does not host or train proprietary models.
3. Provenance Metadata Preservation: The AI providers embed machine-readable provenance metadata (watermarks) into the text outputs. CategorySEO Analyzer does not strip, alter, or remove these markings.
4. Publisher Responsibility: Compliance with published content disclosure regulations (such as Article 50(4) of the EU AI Act) rests with the final publisher (the site merchant).

= Is it compatible with my theme? =

The audit page works as a standalone admin-level frontend page, independently from your theme.

= How does the SEO score work? =

The score is calculated based on: presence and length of description (+20-30 pts), category image (+15 pts), and product count (+5-30 pts), for a total of up to 100 points.

== Changelog ==

= 1.1.3 =
* Added full internationalization support, wrapping all labels and strings in translate helper functions
* Removed all inline style attributes from layouts and migrated styling to centralized stylesheets
* Resolved W3C nesting standard compliance issue (removed nested form wrapper on the deactivation action)
* Added a data retention setting allowing store administrators to toggle data deletion on plugin uninstallation
* Cleaned up and deleted orphaned wizard files

= 1.1.2 =
* Added AI Act compliance transparency sections in documentation
* Bumped version to 1.1.2 to match plugin bootstrap

= 1.0.5 =
* Added a secure admin "Send Feedback" form page allowing store administrators to send diagnostic reports and suggestions to support directly via wp_mail

= 1.0.4 =
* Redirected AI debug logs to the browser console, resolving debug log file pollution on the server

= 1.0.3 =
* Fixed WooCommerce category table sorting direction toggling
* Added active sorting indicators (up/down arrows) in the table header

= 1.0.2 =
* Migrated the Category SEO Audit screen directly to the WordPress Admin dashboard
* Removed frontend routing slug setting and configuration options
* Streamlined the onboarding setup wizard to 5 steps

= 1.0.1 =
* Added multi-provider fallback AI chain logic (OpenRouter, OpenAI, Groq, Anthropic, LLMApi)
* Added central AI provider registry configuration screen in settings
* Added dynamic model loading from AI provider APIs via AJAX
* Standardized AI response format

= 1.0.0 =
* Initial release
* Category audit functionality
* Setup wizard (6 steps)
* Free/Pro licensing system
* CSV export
* Smart filters and search
* Sortable table
* Copy row to clipboard
* AJAX-based cache refresh

== Upgrade Notice ==

= 1.1.3 =
Full Envato WordPress Plugin Requirements audit: internationalized all strings, migrated inline CSS styles, resolved form nesting error, and added data retention toggles on uninstallation.

= 1.1.2 =
Added AI Act compliance transparency sections in documentation.

= 1.0.5 =
Added secure "Send Feedback" form page for reporting issues and feature requests.

= 1.0.4 =
Redirected AI debug logs to the browser console.

= 1.0.3 =
Fixed sorting in category SEO audit table.

= 1.0.2 =
Migrated the category audit table page to the WordPress backend admin area.

= 1.0.1 =
Added multi-provider fallback AI chain and key settings.

= 1.0.0 =
Initial release. Upgrade to Pro for unlimited categories and AI features.
