=== ManscaleAI Integration ===
Contributors: manscale
Tags: manscaleai, articles, publishing, content, automation
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect your WordPress site to ManscaleAI for seamless AI-powered article publishing.

== Description ==

ManscaleAI Integration allows you to automatically publish AI-generated articles from ManscaleAI directly to your WordPress site.

**Features:**

* Secure API key authentication
* Automatic article publishing
* Random author from a configurable pool of WordPress users (new posts)
* Local profile photo per user (replaces Gravatar when set)
* Featured image support
* SEO meta description integration (Yoast SEO, All in One SEO, Rank Math)
* Post updates and republishing
* Simple one-click setup

**How It Works:**

1. Install and activate the plugin
2. Generate an API key from the plugin settings
3. Connect your ManscaleAI account using the API key
4. Start publishing articles automatically from ManscaleAI

**Requirements:**

* Active ManscaleAI account
* WordPress 5.0 or higher
* PHP 7.4 or higher

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/manscaleai-integration/`, or install through the WordPress plugins screen
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Go to ManscaleAI in your WordPress admin menu
4. Generate an API key
5. Use this API key to connect your ManscaleAI account

== Frequently Asked Questions ==

= Do I need a ManscaleAI account? =

Yes, you need an active ManscaleAI account to use this plugin. Visit https://manscale.ai to sign up.

= Is this plugin secure? =

Yes. The plugin uses secure API key authentication and follows WordPress security best practices. API keys can be revoked at any time.

= Can I update existing posts? =

Yes. ManscaleAI can update posts that were previously published through the integration.

= Which SEO plugins are supported? =

The plugin automatically integrates with Yoast SEO, All in One SEO, and Rank Math for meta descriptions.

= Can I revoke an API key? =

Yes. You can revoke any API key from the plugin settings page at any time.

== Screenshots ==

1. Plugin settings page with API key management
2. Generated API key ready to copy
3. Active API keys list

== Changelog ==

= 1.1.1 =
* WordPress.org review fixes: correct Contributors username, enqueue avatar admin script via wp_enqueue_script
* Updated plugin author to Max Iwert - Manscale GmbH

= 1.1.0 =
* Random post author from an admin-selected pool of users (new posts only; updates keep the existing author)
* Local profile avatar per user (media library) shown instead of Gravatar when set
* REST response includes `post_author` and `assigned_author_id` for new posts

= 1.0.1 =
* Added Website URL display with copy button for easier setup
* Improved settings page layout with labeled fields

= 1.0.4 =
* Main plugin file renamed to `manscaleai.php` (folder: `manscaleai-integration`). If WordPress shows the plugin as deactivated after upload, activate it again once.

= 1.0.0 =
* Initial release
* API key authentication
* Article publishing and updates
* Featured image support
* SEO meta description integration
* Support for major SEO plugins

== Upgrade Notice ==

= 1.1.1 =
Maintenance release for WordPress.org plugin directory compliance.

= 1.1.0 =
Configure **Article authors** under ManscaleAI in WP Admin and optionally set **ManscaleAI profile photo** on each user profile.

= 1.0.4 =
After replacing the plugin files, confirm the plugin is active. Entry file is now `manscaleai.php`.

= 1.0.0 =
Initial release of ManscaleAI Integration plugin.

== Privacy Policy ==

This plugin sends article content, titles, and images to your WordPress site via the REST API when publishing from ManscaleAI. No data is sent to third-party services except your own WordPress installation.
