=== HiFi-WP Publisher ===
Contributors: augmentable-ai
Tags: ai, editor, affiliate, pretty-links, content
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 3.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI-powered content publishing and affiliate link management for WordPress, powered by HiFi-WP.

== Description ==

HiFi-WP Publisher combines:

1. Riverstep Inline Interactive Editor — AI-assisted visual content editing on the front end of your site.
2. Affiliate link creation and redirect management.

Security and approval-focused design:

* Direct access protection (`defined('WPINC')`).
* Capability checks for admin operations.
* Sanitization and escaping for settings and output.
* API key authorization for REST mutation routes.
* Optional integration with Pretty Links and ThirstyAffiliates.

== External services ==

This plugin can communicate with:

* Your own WordPress REST API endpoints under `/wp-json/hifi-wp/v1/...` (served by your own WordPress install, no external data sent).
* HifiBots backend services at `https://api.hifibots.com` for AI content enhancement, when configured with a site API key. See https://wp.hifibots.com/downloads for terms and privacy policy.

Data sent depends on feature usage and may include:

* Affiliate link payloads (`slug`, `destination_url`, `title`, `adapter`).
* Configured site API key via `X-HifiBots-Key` header for authenticated plugin routes.

Site owners are responsible for disclosing third-party processing in their own privacy policy where required.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`.
2. Activate **HiFi-WP Publisher** from Plugins.
3. Go to Settings → HiFi-WP Publisher and enter your Site API Key.

== Frequently Asked Questions ==

= How is API access authenticated? =

Protected REST routes require `X-HifiBots-Key` to match the configured key.

= Can I use this with Pretty Links? =

Yes. If Pretty Links (or ThirstyAffiliates) is active, the plugin can use those integrations.

== Changelog ==

= 3.0.0 =
* Renamed to HiFi-WP Publisher.
* Riverstep Inline Interactive Editor branding.
* Removed Site ID field — backend identifies sites by account and origin.
* Removed conflict detection notices.
* Streamlined settings: only Site API Key + Post Type Creation Method needed.
* Help link updated to wp.hifibots.com/downloads.

= 2.1.0 =
* API endpoint and Account ID hardcoded.
* Branding cleanup for HiFi-WP naming and messaging.

= 2.0.0 =
* New standalone editor + affiliate variant.
* Added REST API for affiliate link operations.

== Upgrade Notice ==

= 3.0.0 =
Renamed to HiFi-WP Publisher. Simplified settings — only Site API Key required.
