=== MobileOnline Matrimony Pro Changelog ===

= 2.1.6 =
* **Compliance**: Replaced external QR generation with a local privacy-compliant QR code library (chillerlan/php-qrcode).
* **Compliance**: Removed external service references and broken URLs from readme.
* **Update**: Updated DOMPDF library to version 3.1.5.

= 2.1.5 =
* **Architecture**: Abstracted database queries for homepage statistics into a public helper function (`momp_get_public_stats`) for use by companion themes.
* **Compliance**: Ensuring strict decoupling of functionality and presentation according to WordPress Theme Review Team (TRT) standards.

= 2.1.4 =
* **Security Additions**: Added empty `index.php` files to all plugin directories to prevent unauthorized public directory listing.

= 2.1.3 =
* **Bug Fix**: Resolved a critical parse error in the PDF helper library (`dompdf`) caused by errant line formatting.
* **UI/UX**: Added missing margin-bottom spacing class (`.momp-mb-10`) to the profile action buttons (WhatsApp, Download Biodata) to prevent tight stacking.

= 2.1.2 =
* **Compliance**: Capitalized acronyms in class names (`Momp_Data_IO`, `Momp_DPDP`, `Momp_PDF`, `Momp_ID_Generator`) to perfectly align with strict WordPress Coding Standards.

= 2.1.1 =
* **Maintenance**: Incremented plugin version to 2.1.1.
* **Cleanup**: Removed residual development and PHPCS output files.
* **Documentation**: Updated readme.txt and changelog.txt.

= 2.1.0 =
* **Security Hardening**: Implemented comprehensive input sanitization for all `register_setting` calls and enforced "Late Escaping" on all dynamic outputs to prevent XSS.
* **Compliance**: Resolved over 20,000 WordPress Coding Standards (WPCS) violations, including indentation, spacing, and comment formatting.
* **Performance**: Normalized line endings (LF) across the entire codebase for consistent cross-platform behavior.
* **Architecture**: Corrected directory path mismatches for admin assets and implemented dynamic style injection for the settings portal.
* **Compatibility**: Added defensive string casting for `wp_kses` and `wp_kses_post` to ensure full compatibility with PHP 8.1+ and 8.2+.
* **Fix**: Resolved misplaced `phpcs:ignore` comments and fixed false-positive security warnings in the Insights and Settings classes.

= 2.0.0 =
* **Major Update**: Plugin version bumped to 2.0.0 to reflect significant lifecycle and UI improvements.
* **Lifecycle**: Implemented automatic search table creation upon activation, ensuring the search engine is ready immediately.
* **Onboarding**: Added automatic redirection to the "Help & Guide" page after plugin activation for better user orientation.
* **Management**: Added "Clear Data on Uninstall" setting in the Advanced Tools tab, allowing users to choose if data is wiped on deletion.
* **Cleanup**: Created `uninstall.php` for responsible database and option cleanup when the plugin is deleted.
* **UI/UX**: Extensive polish of the Profile Edit interface, including premium typography (Inter/Outfit), gradient indicators, micro-animations, and unified tab logic.
* **Architecture**: Refined `momp_setup` class to support both automatic activation logic and manual "One-Click Setup" for pages and menus.

= 1.5.6 =
* **Architecture**: Implemented a template override system allowing themes to customize plugin frontend components.
* **Refactor**: Extracted inlined HTML from Search, Auth, and Profile classes into modular templates.
* **Utility**: Improved `momp_hex_to_rgb` helper to robustly handle both 3-digit and 6-digit hex codes.
* **Cleanup**: Removed redundant dependency loading logic.

= 1.5.5 =
* **Refactor**: Externalized all inline CSS and JavaScript into dedicated asset files for better performance and compliance with WordPress.org standards.
* **Bug Fix**: Resolved a critical issue in the "Edit Profile" shortcode that caused duplicate profile creation on page load.
* **UX**: Improved tab switching and gallery management responsiveness.


= 1.5.4 =
* **Feature**: Added Matrimony ID display on the frontend Edit Profile page for enhanced user reference.
* **UX**: Improved ID visibility for single-profile users and subscribers.

= 1.5.3 =
* **Bug Fix**: Resolved "Not Allowed" error in One-Click Setup tool by refactoring form actions to bypass `options.php`.
* **Security**: Replaced `rand()` with `wp_rand()` in profile generator per WordPress best practices.
* **Security**: Added nonce verification to menu item visibility custom fields.
* **Data Sanitization**: Replaced direct `$_GET` access with `filter_input` for settings page notices.
* **UX**: Added success message alerts for One-Click Setup and Role Reset actions.

= 1.5.2 =
* **Compliance**: Updated `readme.txt` and created `changelog.txt` per WordPress best practices.
* **Security & UI**: Consolidated recent security fixes (nonce headers, escaping) and UI modernization (admin dashboard, search filters) into a specialized update.
* **Feature**: Added optional photo moderation workflow for user uploads.
* **Feature**: Implemented admin setting to toggle frontend auth redirect.
* **Feature**: Enhanced "My Profile" verification flow with clearer status indicators.

= 1.5.1 =
* **Compliance**: Added missing readme sections (FAQ, Upgrade Notice, Donate link) for WordPress.org submission.
* **Version Increment**: Updated plugin version to 1.5.1.

= 1.5.0 =
* **Security Hardening**: Conducted a comprehensive audit of all input sanitization (`sanitize_text_field`, `wp_unslash`) and output escaping (`esc_html`, `esc_attr`, `esc_url`).
* **PHPCS Remediation**: Resolved persistent nonce verification warnings with precise justifications for display-only logic and secure token handling.
* **WP 6.9 Compatibility**: Verified and tested up to the latest WordPress 6.9 release.
* **WordPress.org Readiness**: Comprehensive audit and code updates performed for submission to the WordPress.org plugin repository.

= 1.4.0 =
* **Email Verification**: Implemented secure email verification flow for new registrations with an optional admin setting.
* **Membership Expiration**: Added automatic expiration date calculation based on plan duration, with manual override in admin editor.
* **Admin UI Enhancements**: Beautified the backend Profile Editor with tabbed layout, timeline accordions, and quick actions.
* **Astrology Logic**: Refined Guna Milan logic to handle unknown 'Pada' and allow manual Rasi selection.
* **PDF Reports**: Added configurable Price Tag display on PDF compatibility reports.
* **Help & Guide**: Added new 'Account Access & Privacy' section to clarify verification vs. deactivation status.
* **Author Update**: Updated plugin metadata to reflect new authorship.

= 1.3.0 =
* **Enhanced Admin Columns**: Added Gender, Age, and Contact Info columns to the Profiles list.
* **Sortable Columns**: All major profile columns (Gender, Age, Status, Membership) are now sortable.
* **Taxonomy Grouping**: Grouped all profile attributes (Religion, Caste, Location, etc.) under a single "Profile Attributes" menu.
* **Legal Compliance**: Fixed DPDP consent synchronization between User accounts and Matrimony Profiles.
* **Architecture**: Consolidated admin UI logic into a unified class for better reliability.

= 1.2.0 =
* **Verification System**: Rejected profiles now hidden from search. Pending profiles marked as "Not Verified".
* **Multi-Profile Dashboard**: Admins can now manage multiple profiles from a single account with a new selection UI.
* **User-Submitted Terms**: Added "Or add new..." input for Location and Caste fields to allow user contributions.
* **Location Logic**: Added fallback support for non-listed locations.
* **Security**: Updated meta handling for clearer verification status tracking.

= 1.1.0 =
* **Integrated Hindu Astrology (Guna Milan)**: 36-point compatibility engine with 27 Nakshatra lookup and breakdown modal.
* **Modern Search Results Redesign**: High-end grid layout with hover effects, badges (Verified/Premium), and candidate education details.
* Added CSV Import/Export functionality for matrimony profiles.
* Redesigned Matrimony ID generator to use professional sequential pattern (MAT-YY-XXXX).
* Enhanced "One Profile per User" rule with exemptions for Administrators.
* Fixed CSS conflict limiting the Profile Edit page width (expanded to 800px).
* Updated authentication forms to maintain 450px width via specific CSS nesting.
* Redesigned "Right to Erasure" button with high-contrast red outline styling.
* Improved CSV importer robustness with strict row validation and quote handling.
* Updated asset versioning (1.1.0) for reliable cache management.

= 1.0.0 =
* Initial Release.
* Core Profile CPT and Taxonomies.
* Manual Payment submission system.
* Advanced Search and Privacy filters.
* Help & Documentation center.
