=== MainWP Domain Monitor Extension ===
/**
 * Plugin Name: MainWP Domain Monitor Extension
 * Plugin URI: https://mainwp.com
 * Description: MainWP Domain Monitor Extension lets you keep a watchful eye on your domains. It alerts you via email when monitored domains are nearing expiration.
 * Version: 5.1.5
 * Author: MainWP
 * Author URI: https://mainwp.com
 * Documentation URI: https://mainwp.com/kb/mainwp-domain-monitor-extension/
 * Icon URI:
 */

== Changelog ==

= 5.1.5 - 3-18-2026 =
* Dev: Added `mainwp_domain_monitor_before_lookup_domain_whoisservers` and `mainwp_domain_monitor_before_lookup_domain_rdap` filters to allow short-circuiting WHOIS and RDAP domain lookups with custom data sources.

= 5.1.4 - 1-15-2026 =
* Fixed: Resolved "Unsupported operand types" error in scheduled cron jobs by using absint() for timestamp and interval calculations following WordPress best practices.
* Fixed: Issue where domain monitor cron checks could fail to use the correct domain settings due to an incorrect settings reference.

= 5.1.3 - 5-19-2025 =
* Fixed: Issue with lingering scheduled tasks after extension or MainWP Dashboard deactivation.
* Added: Method to properly unschedule cron jobs when the extension or MainWP Dashboard is deactivated.

= 5.1.2 - 4-8-2025 =
* Fixed: Inactive reset page button on the Domain Monitoring Dashboard page.
* Fixed: An issue with incorrect domain status displayed for sites that are missing the domain info.
* Fixed: Fixed blank domain statuses caused by incorrect `strtok()` usage by implementing camelCase conversion.
* Added: New Site column to the Domain Monitors table, combining WP Admin, Name, and Site URL information for easier identification.
* Updated: Improved table data alignment and display in the Global Overview widget for better readability.
* Updated: Enhanced individual site widget to include Domain information.
* Updated: Styled the Domain Monitors table to align with the latest MainWP Dashboard design standards.
* Updated: Improved label styling for Manage Sites and Monitoring table items for consistency.
* Updated: Updated knowledgebase URLs to point to the new documentation.

= 5.1.1 - 1-30-2025 =
* Fixed: Issue where automated checks overwrote manually entered domain information.
* Added: Support for .site, .xyz, .app, .store, .club, and .blog TLDs.
* Updated: Improved domain table selector for better usability.
* Updated: Adjusted "Go to WP Admin" option label in page settings column selection.
* Updated: Enhanced layout of the Site Overview widget for better readability.

= 5.1 - 11-21-2024 =
* Added: Support for MainWP REST API v2
* Updated: Reload page after closing the Domain Lookup modal 
* Updated: Widget layout
* Updated: Coding standards and best practices
* Updated: General maintenance and optimization

= 5.0.3 - 7-22-2024 =
* Fixed: Typo in a tooltip on the extension page
* Updated: Domain Monitor widget subheader
* Updated: Removed the `collapsing` class from the Expiration Date table column

= 5.0.2 - 5-29-2024 =
* Updated: Compatibility with the latest DataTables library version

= 5.0.1 - 2-28-2024 =
Fixed: Date data incorrectly sorted alphabetically instead of chronologically.

= 5.0 - 2-27-2024 =
* Updated: MainWP 5.0 compatibility

= 4.1 - 12-5-2023 =
* Added: A feature allowing manual entry of domain information to enhance user control and data accuracy.
* Added: Added: A new "Mode" column in the table demarking whether the domain information was obtained automatically or entered manually.
* Added: Added: Support for the ".online", ".network", and ".hr" top-level domains, broadening the extension scope.
* Fixed: An issue causing page reload disruptions following the closure of the Domain Check modal, ensuring a smoother user experience.
* Fixed: A PHP warning triggered by attempts to access the "expiry_date" property on a null value, enhancing system stability and error handling.
* Tweaked: The display to show "N/A" (Not Available) instead of the default "January 1, 1970," in cases where domain information data is unavailable, for clearer and more accurate communication.
* Tweaked: The layout of the Domain Info widget on individual site overviews, particularly when domain information is absent, for a more streamlined and visually appealing presentation.

= 4.0.6 - 8-15-2023 =
* Added: Support for Flexible Widgets

= 4.0.5 - 6-19-2023 =
* Fixed: The Expires column data order problem

= 4.0.4 - 6-1-2023 =
* Added: Support for the Actions Log to catch response from RDAP
* Updated: Added link to the list of supported TLDs in the info message

= 4.0.3 - 5-12-2023 =
* Updated: REST API authentication process

= 4.0.2 - 3-29-2023 =
* Fixed: Issues with checking domains via CLI
* Fixed: PHP Warning
* Fixed: Multiple typos

= 4.0.1 - 6-21-2022 =
* Added: WP Nonce verification to the Go to WP Admin request for additional security

= 4.0-beta1 2-10-2022 =
* Beta 1 release
