=== DNS Manager for Cloudflare === Contributors: sflwa Tags: utility, dns Requires at least: 6.7 Tested up to: 6.8 Stable tag: 1.0.31 Requires PHP: 7.4 License: GPLv2 or later Manage your Cloudflare DNS records directly from the WordPress admin panel. == External Services == This plugin using the Cloudflare API to allow for management of DNS within WordPres * [API Documentation](https://developers.cloudflare.com/api/) ##Installation Upload the cloudflare-dns-manager.php file and any associated files to the /wp-content/plugins/cloudflare-dns-manager/ directory. Activate the plugin through the 'Plugins' menu in WordPress. Navigate to the Settings > Cloudflare DNS page to configure your Cloudflare API token. ##Usage Settings Tab: On the Settings tab, enter your Cloudflare API Token. Click "Save Changes" to verify and save your credentials. A green checkmark will appear if the token is valid. DNS Management Tab: Once your API token is verified, select a domain from the dropdown menu. The table will populate with all DNS records for that domain. Filtering Records: Use the "Filter by Type" dropdown to display only specific record types (e.g., A, CNAME, MX, etc.). Editing Records: Click the "Edit" link next to a record to open a modal window. Here, you can modify the record's name, content, TTL, and proxy status (for A and CNAME records). Click "Save Changes" to update the record on Cloudflare. Change Log Tab: The Change Log tab provides a detailed history of all record updates, including who made the change and what values were modified. ##Changelog = 1.0.31 = * Code updates for WordPress standards = 1.0.30 = * Refactored plugin for better coding * Adjusted code prefix = 1.0.29 = * Code updates for WordPress standards = 1.0.28 = * Refactored plugin for better coding = 1.0.27 = * Standard: Added a translation-ready comment for the DNS Management domain name header. = 1.0.26 = * Fix: Corrected the changelog log for "Add" actions to display record details instead of raw JSON. * Fix: Adjusted the date/time display in the changelog to a 12-hour format without seconds. * Fix: Increased the width of the Date/Time column in the changelog table to prevent wrapping. = 1.0.25 = * Code updates for WordPress standards = 1.0.24 = * Code updates for WordPress standards = 1.0.23 = * Code updates for WordPress standards = 1.0.22 = * Security: Added an escaping function to all output to prevent XSS vulnerabilities. = 1.0.21 = * Code updates for WordPress standards = 1.0.20 = * Code updates for WordPress standards = 1.0.19 = * Fix: Resolved a PHP parse error and the flashing modal issue by setting modals to display: none; by default in inline styles. = 1.0.18 = * Updated Plugin information for WordPress standards = 1.0.17 = * Feature: Added a new log entry for record deletions that captures the full record information before it is deleted. = 1.0.16 = * Fix: Resolved "Undefined array key" and "headers already sent" warnings on record deletion. * Fix: Corrected the delete nonce field name in JavaScript to match the PHP code. = 1.0.15 = * Fix: Addressed the issue where the modal windows would briefly flash on page load. = 1.0.14 = * Feature: Added a delete record option with a confirmation modal that requires the user to type "DELETE". = 1.0.13 = * Fix: Made the TTL values on the DNS record table human-readable. = 1.0.12 = * Fix: Corrected the human-readable TTL values in the Add record modal. = 1.0.11 = * Fix: Hid the proxy option for all records except A and CNAME. = 1.0.10 = * Fix: Replaced the proxy slider with a reliable "Yes/No" dropdown menu. = 1.0.9 = * Fix : The proxy toggle switch is now functional. = 1.0.8 = * Fix: The modal is now vertically centered on the screen. = 1.0.7 = * Fix: Corrected an issue where the proxy toggle was not functioning as a slider. = 1.0.6 = * Fix: The TXT record values are now correctly enclosed in quotes when saved. = 1.0.5 = * Feature: Added functionality to edit existing DNS records via a modal window. = 1.0.4 = * Feature: Added a filter to the DNS page to filter records by type. = 1.0.3 = * Feature: Truncated long content in the DNS records table with a "Read More" link that opens a modal with full details. = 1.0.2 = * Feature: Implemented functionality to fetch and display DNS records for the selected domain. = 1.0.1 = * Fix: Corrected the issue where the selected domain was not being saved to the database. * Fix: Resolved the issue where the API verification was failing when only the domain was changed. = 1.0.0 = * Initial release. Creates the "Cloudflare DNS" settings page under the WordPress settings menu with a tabbed interface. * Settings: Includes fields to save the Cloudflare API Token. * Verification: Verifies the API token with a test call to Cloudflare.