=== Mercenier Content Importer ===
Contributors: woolfordlabs
Tags: docx, markdown, import, content, migration
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 2.4.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Import DOCX, Markdown and text files into WordPress with preview, duplicate protection and import history.

== Description ==

Mercenier Content Importer provides a review-first workflow for turning supported documents into WordPress content: upload, analyse, preview, configure, and then import.

The free WordPress.org edition includes:

* DOCX import with headings, paragraphs, tables and embedded media.
* Markdown and plain-text import.
* Multi-file preview for up to 5 files per batch.
* Draft, Pending Review or Publish workflows that respect WordPress capabilities.
* Category, tag and author selection.
* Gutenberg or Classic HTML output.
* Source-hash duplicate protection.
* Optional source retention and DOCX media import.
* Import history and system-status diagnostics.

The free plugin is complete and usable on its own; no licence or external service is required for its included features. Separately distributed add-ons may extend the importer through its documented extension points.

Mercenier Content Importer processes supported documents locally on your WordPress server and does not transmit document contents to Woolford Labs.

== Installation ==

1. Install Mercenier Content Importer from the WordPress plugin directory, or upload the plugin ZIP from Plugins > Add New.
2. Activate Mercenier Content Importer.
3. Open Content Importer in wp-admin.
4. Select DOCX, Markdown or TXT files, review the preview, and confirm the import.

== Upgrade from previous package names ==

The plugin was renamed to Mercenier Content Importer in 2.4.6. Deactivate the former Smart Content Importer and Woolford Labs Content Importer packages, install this ZIP, then activate the renamed plugin. Existing WLCIM settings and history are reused; original SCI settings are copied automatically, and original SCI import history and source metadata are migrated in resumable batches. Original metadata is retained for compatibility, with current values taking precedence. Imported posts, IDs, URLs and media are preserved. Generate a fresh preview after upgrading.

Keep the former packages deactivated. Do not use the WordPress Delete button for the former Woolford Labs Content Importer Free 2.4.5 package: its uninstaller removes settings shared with this version. After checking the new installation, remove that former plugin folder through your host file manager or FTP without running its uninstaller, or leave it deactivated.

If you use the separate Pro add-on, upgrade both packages together and use Mercenier Content Importer Pro 2.6.3 or newer.

== Frequently Asked Questions ==

= Does the plugin publish automatically? =

No. Mercenier Content Importer uses a review-first workflow. You preview documents and explicitly confirm the import. Draft is the recommended default.

= Which formats are included? =

DOCX, Markdown and plain text (TXT).

= Does the plugin send my documents to an external service? =

No. Supported documents are processed on your WordPress server. The free plugin does not transmit imported document content to Woolford Labs or another external service.

= What happens to temporary files? =

Temporary files are stored in a protected uploads subdirectory and expire according to the configured retention period.

= Is a paid licence required? =

No. All functionality included in this WordPress.org plugin works without a licence.

== Privacy ==

Mercenier Content Importer does not transmit imported document content to an external service. Original source files and extracted media are added to the WordPress Media Library only when the corresponding import options are enabled. Import history is stored in the local WordPress database and includes source filenames, source types, WordPress post IDs and the importing WordPress user ID.

== Changelog ==

= 2.4.6 =
* Changed the name, slug, main file and text domain to mercenier-content-importer.
* Kept the existing WLCIM/wlcim identifiers and migration to preserve stored data.
* Prevented overlap with former plugin packages on individual sites and networks.
* Extended temporary-file retention cleanup to the previous package folder.

= 2.4.5 =
* Renamed the plugin, folder, main file and text domain to woolford-labs-content-importer.
* Replaced short SCI declarations, hooks and stored-data names with the WLCIM/wlcim prefix.
* Passed a typed, sanitized request allowlist to the import-options extension filter.
* Added resumable migration and compatibility reads for existing settings, metadata and import logs.
* Kept imported content and Pro profile data during the rename.
* Preserved literal backslashes in imported content and rollback snapshots.

= 2.4.4 =
* Sanitized selected document indexes and edited titles directly with WordPress map_deep().
* Applied shape filtering after sanitization while preserving document indexes.
* Addressed the two remaining Plugin Check input-sanitization warnings without adding suppressions.

= 2.4.3 =
* Escaped system-status badges at output.
* Replaced direct upload and file deletion calls with WordPress APIs.
* Used the WordPress local filesystem transport for upload diagnostics and directory protection files.
* Validated upload-array fields and unslashed and sanitized import form inputs.
* Added nonce-protected preview, onboarding and result links.
* Preserved mixed-case preview identifiers and source-document backslashes.
* Kept the temporary directory's protection index during retention cleanup.
* Removed manual WordPress.org translation loading.

= 2.4.2 =
* Finalized publisher metadata for Woolford Labs.
* Confirmed WordPress.org contributor username as woolfordlabs.
* Added GPL license metadata to the main plugin header for consistency with readme.txt and LICENSE.
* Prepared this build as the Plugin Check candidate for WordPress.org submission.

= 2.4.1 =
* Removed remaining Free-package references to ZIP archive import workflows.
* Removed the dedicated Pro admin menu, plugin-list upsell link and promotional settings panel.
* Reduced commercial references in the WordPress.org readme to a neutral add-on compatibility statement.
* Kept PHP ZipArchive checks only where technically required to read DOCX files.
* Updated the WordPress.org submission metadata.

= 2.4.0 =
* Prepared a dedicated WordPress.org edition containing only the Free import engines.
* Removed dormant PDF, legacy DOC and ZIP import implementations from the Free package.
* Removed executable/binary discovery used only by non-Free formats.
* Simplified system diagnostics to the requirements of DOCX, Markdown and TXT.
* Added clean extension hooks for separately distributed add-ons.
* Updated privacy, FAQ and WordPress.org metadata.

= 2.3.0 =
* Added first-run onboarding and plugin action links.
* Added stricter upload type checks before processing.
* Restricted history-log deletion to administrators.
* Improved WordPress.org-facing privacy and FAQ documentation.

= 2.2.0 =
* Added rollback snapshots for updated content.
* Improved import-history metadata.

= 2.1.0 =
* Added extension hooks for content mapping and custom workflows.
* Improved capability checks.

= 2.0.0 =
* First productized Free edition.
* Free formats: DOCX, Markdown and TXT.
* Free batch cap: 5 documents.
