== Typo Hunter Changelog == = 2.0.1 - September 2026 = * Changed comment typo reporting to be opt-in: it is now disabled by default until enabled in Settings > Comment Reporting. * Clarified the Comment Reporting setting label and description in the Settings screen. = 1.9.0 - September 2026 = * Improved object-cache compatibility with stable salted keys and reliable cache invalidation fallbacks. * Reduced repeated database queries by priming linked post and comment caches in reports, analytics, and email digests. * Minified the front-end stylesheet to reduce its transfer size. * Hardened test-email feedback by rendering response messages as text instead of HTML. * Restricted GitHub Actions workflow permissions to read-only repository contents and kept development dependencies compatible with PHP 8.1+. = 1.8 - August 2026 = * Made comment typo reporting available to Free users as well as Pro users. * Removed Freemius from normal frontend page loads and regular report-submission AJAX requests. * Added frontend performance improvements by caching request-level settings and adding a composite duplicate-report index. * Added standard WordPress plugin compatibility headers and restricted database migrations to admin requests. * Tested compatibility with WordPress 7.1 and WooCommerce 11.0. = 1.7.6 - August 2026 = * Added an optional Pro setting to enable or disable typo reporting on approved comments. * Replaced browser alert dialogs with in-modal validation, loading, success, and error feedback. * Added a submitting spinner and disabled form controls while reports are being sent. * Clarified the one-hour per-IP rate-limit window and duplicate-report behavior. = 1.7.0 - August 2026 = * Made rate limiting atomic with short-lived object-cache locks for concurrent submissions. * Added versioned cache-key invalidation for reports, counts, statistics, trends, and rankings. * Added WP-CLI commands for statistics, report listing/export, cleanup, and cache flushing. * Added automated PHPUnit coverage for concurrency contention and bulk cache invalidation. * Added a Pro setting to select the public post types where the reporter loads. = 1.6.0 - August 2026 = * Improved analytics performance by consolidating basic statistics queries. * Reused cached statistics in the Pro analytics summary. * Preserved rate-limit counters during report-cache invalidation. * Refreshed readme and French translation resources. = 1.1.0 - February 2026 = * 🎉 **NEW PRO VERSION**: Premium features now available! * 📊 **Analytics Dashboard** - View comprehensive stats, 30-day trends, and most reported posts (Pro) * 📧 **Email Notifications** - Instant, daily, and weekly digest options with configurable recipients (Pro) * 📤 **Export Features** - Export reports to CSV or PDF with date/post filtering (Pro) * 🎨 **Tabbed Admin Interface** - Modern, organized admin experience with Analytics, Reports, Settings, and Email tabs * ⚡ **Enhanced Rate Limiting** - Pro users get 30 reports/hour (vs 5/hour for free) * 🚀 **Performance Boost** - Added 5-minute object caching for analytics and reports list * 🔒 **Security Enhancement** - Replaced md5() with wp_hash() for IP hashing * 🏢 **VIP Compliance** - Fully WordPress VIP compliant (replaced file operations, optimized queries) * 💾 **Query Optimization** - SELECT specific columns instead of SELECT *, added proper indexes * 🔐 **Capability Checks** - Added current_user_can() checks on all admin methods * 🐛 **Bug Fix**: Fixed admin notice display to prevent duplicates * 📝 **Code Quality**: Improved error handling and logging throughout * 🌐 **Freemius Integration** - Seamless license management and updates = Version 1.0.1 - January 25, 2026 = Enhancements: * Added uninstall.php to properly clean up database table, options, and transients on plugin uninstall * Plugin now fully namespaced (TypoHunter namespace) to prevent conflicts Documentation: * Updated readme.txt with PHP 8.1 minimum requirement --- = Version 1.0.0 - December 2025 = Initial Release: * Lightning-fast keyboard shortcut (Ctrl/Cmd + Enter) for instant typo reporting * Beautiful native HTML dialog interface * Admin dashboard with sortable reports table * Rate limiting (5 reports/hour per IP) to prevent spam * Duplicate detection (5-minute window) * Optional database logging * Enterprise-grade security (SQL injection protection, nonce verification) * PHP 8.1+ optimizations (typed properties, readonly, match expressions) * Performance-first architecture (conditional asset loading, database indexes) * Gamified user experience * GDPR-friendly (no personal data stored) * Works with any WordPress theme * Compatible with all caching plugins