=== Leanmerce Influencer Collaboration ===
Contributors: leanmerce
Tags: woocommerce, influencers, collaboration, creator
Requires at least: 6.9
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 1.0.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Manage influencer collaborations in WooCommerce: onboarding, opportunities, fulfillment, content review, CRM, rights, and analytics evidence.

== Description ==

Leanmerce Influencer Collaboration Free/Core is a complete, local-first workflow for merchants and creators. It includes unlimited influencer profiles, opportunities, applications, proposal negotiation, selection, immutable Final Terms, factual confirmation of externally completed agreements, shipping and fulfillment, private content submissions, review history, creator CRM, agreed-rights visibility, private analytics evidence, and historical metric records.

The agreement confirmation records that the parties report an external/manual agreement as completed. It is not an electronic signature and does not determine legal validity. Generated contract documents and electronic acceptance evidence are available only in the separately installed Pro add-on.

Free/Core contains no license key, quota, trial, provider OAuth client, reusable provider token, automatic provider synchronization, or disabled Pro implementation. Add the `[leanmerce_influencer_portal]` shortcode to a merchant-selected page; the plugin does not silently create site content.

== Requirements ==

* PHP 8.1 or newer
* WordPress 6.9 or newer
* WooCommerce 10.8 or newer

== Frequently Asked Questions ==

= Is Free/Core usable without Pro? =

Yes. The complete manual collaboration path, including agreement confirmation and all downstream fulfillment and content gates, is available without Pro.

= Are there record limits? =

No. Free/Core does not impose application, opportunity, profile, collaboration, or content quotas.

= Does Free/Core call social network APIs? =

No. Social handles can be entered manually, and creators can submit private analytics screenshots as evidence. Creator-entered follower counts are not used in the current Free/Core workflow. Live provider connections and synchronization are not available in Free/Core.

== Privacy ==

Free/Core stores influencer profiles, manually entered social references, analytics evidence and historical metric records, private evidence and content files, applications, immutable commercial terms, factual external-agreement confirmations, fulfillment data, content review history, CRM tags, agreed-rights facts, and audit events on the WordPress site. It does not store social-provider credentials or access tokens. Private evidence and content use local encrypted storage. Linked WooCommerce orders follow WooCommerce and site retention settings.

== Changelog ==

= 1.0.7 =
* Align the existing custom-table diagnostic suppression with the actual query call so Plugin Check does not report the intentional live read-only diagnostic as uncached/direct-query warnings.

= 1.0.6 =
* Restore the full available width of the Influencer Program content inside the standard WooCommerce My Account layout.

= 1.0.5 =
* Keep the Leanmerce WordPress submenu focused on product entries while preserving direct access to internal workflow pages.
* Restore the standard WooCommerce My Account navigation around the creator workspace.
* Render Settings save actions as visible, accessible WordPress buttons with persistent labels.

= 1.0.4 =
* Restrict private creator REST routes when an influencer profile is suspended or blocked.
* Add direct, state-aware merchant actions on individual application details, including Select influencer.
* Keep Compare & Select optional while preserving single- and multi-applicant selection workflows.
* Expand merchant application filters to the current application lifecycle states.

= 1.0.3 =
* Fix product-linked Opportunity saves when Maximum creators to select is left empty.
* Restore multi-product Opportunity selection with add/remove controls and persistent WooCommerce product rows.
* Harden creator eligibility facts by resolving country data from the creator profile, WooCommerce account, or onboarding values.
* Restore state-aware creator workspace navigation and keep unavailable workflow panels hidden.
* Add merchant-side creator visibility diagnostics for persisted Opportunity eligibility and application state.
* Preserve the 1.0.2 analytics-evidence workflow without reintroducing creator-entered follower counts.

= 1.0.2 =
* Harden unrestricted and legacy eligibility parsing and application-window checks.
* Replace creator-entered follower counts with private analytics evidence submissions.
* Add a controlled merchant correction action for erroneous unverified historical self-reported snapshots.
* Prevent missing/evidence-only follower values from being presented as zero.

= 1.0.1 =

* WordPress.org review remediation: use WordPress enqueue APIs for plugin-owned admin styling.
* Harden request boundaries so structured form and REST data is allowlisted, sanitized, and validated before domain processing.
* Prepare dynamic database identifiers with WordPress `%i` placeholders and retain prepared placeholders for query values.
* Scope admin assets to Influencer Collaboration screens.

= 1.0.0 =

* Stable Free/Core release of the complete manual WooCommerce influencer collaboration workflow and My Account creator workspace.
* Preserves product-linked gifted and paid opportunities, applications, selection, agreements, fulfillment, private content review, CRM, rights, and manual statistics/evidence.
* Keeps live social-provider connections unavailable while manual social profiles and evidence remain available.

= 1.0.0-rc.9 =

* Places Opportunity actions in a non-overlapping bottom action bar and adds explicit draft, save, and publish confirmations.
* Keeps manual social accounts, statistics, evidence, and merchant verification available while live provider connections remain unvalidated and unavailable.

= 1.0.0-rc.5 =

* Completes creator routing, evidence state, opportunity filtering, and final RC5 creator UX corrections.

= 1.0.0-rc.4 =

* Finalized the WooCommerce My Account creator workspace, deep-link routing, wide desktop layout and compact mobile navigation.
* Improved creator profile, social, statistics, applications, collaborations, shipping, content and rights-history experiences.
* Preserved the accepted schema, licensing, updater, product boundary, and P0-P9 behavior.

= 1.0.0-rc.2 =

* Redesigned the merchant workspace and creator portal for clearer, product-first collaboration workflows.
* Preserved the accepted schema, licensing, updater, product boundary, and P0-P9 behavior.

= 1.0.0-rc.1 =
* Split the accepted P9 monolith into a strong standalone Free/Core plugin and a separately installable Pro add-on.
* Added the external/manual agreement completion path while preserving immutable Final Terms and downstream workflow gates.
* Kept all shared P0-P9 records in place and documented table ownership and the Pro extension contract.

= 0.10.0-dev =
* Accepted P9 development baseline from which the product packages were split.
