Alongside a modern drag-and-drop import interface, version 2.7.4 includes multiple layers of validation, recursive data sanitization, attachment-safe exports, and intelligent newline detection to ensure both configuration migration and chapter rendering remain reliable across different WordPress installations.
Export / Import Settings
Version 2.7.4 introduces a complete JSON-based Export and Import module for Init Manga.
Administrators can export their entire theme configuration into a portable JSON file and restore it on another installation or keep it as a backup before major updates. This dramatically simplifies deploying multiple websites with identical settings.
Strict Import Validation
The import process has been designed with multiple validation layers to ensure only trusted data is written into wp_options.
Every imported file undergoes JSON parsing, export signature verification, whitelist enforcement, file size validation, and recursive sanitization before any settings are restored. Unknown or unsupported option keys are automatically ignored to maintain compatibility between different Init Manga versions.
Attachment-Safe Migration
Not every WordPress setting can be safely transferred between websites.
For this reason, media attachment IDs—including watermark images and advertisement assets—are intentionally excluded from exported files. This prevents broken media references after importing settings into a different WordPress installation with its own Media Library.
Modern Drag-and-Drop Import Interface
The Import page has been completely redesigned with a cleaner and more intuitive user experience.
Administrators can simply drag and drop a JSON file into the browser, receive immediate validation for file type and size, and confirm the operation before any existing settings are overwritten.
Recursive Import Sanitizer
Version 2.7.4 introduces init_manga_sanitize_import_value(), a dedicated recursive sanitization engine for imported configuration data.
The sanitizer safely processes nested arrays, intelligently casts integer-based settings, and preserves trusted HTML using wp_kses_post(), allowing advertisement snippets, templates, and custom content to survive migration without compromising security.
Automatic Novel Paragraph Repair
Beyond configuration management, this release also improves the reading experience for Novel websites.
Many crawler-generated chapters and author submissions contain isolated single line breaks instead of proper paragraph spacing, resulting in large blocks of difficult-to-read text. Init Manga can now automatically convert these standalone line breaks into proper paragraph spacing for a much more comfortable reading experience.
Novel-Only Protection
The paragraph repair filter operates exclusively on Novel chapters.
Comic chapters remain completely untouched, ensuring that existing HTML structures, images, and layouts cannot be accidentally modified by the formatting engine.
Advanced Regex Detection and Reader Control
To maximize formatting accuracy, the repair engine uses advanced regular expressions with negative lookbehind and negative lookahead matching to identify only genuine standalone line breaks while preserving existing paragraph spacing.
A new Fix Lazy Author Newlines option has also been added to the Chapter Reader settings, allowing administrators to enable or disable the automatic repair feature globally according to their website’s needs.
Smarter Management for Modern WordPress Websites
Init Manga v2.7.4 makes configuration migration significantly easier while simultaneously improving the reading experience for Novel content. With secure export and import capabilities, modern administration tools, and intelligent formatting repair designed specifically for novels, this release continues to strengthen Init Manga as a professional publishing platform for Manga and Novel communities.
Comments