WP ShrtFly Integration

Changelog

2.0.0

  • BREAKING: Minimum PHP version raised to 8.0
  • COMPATIBILITY: Tested and compatible with WordPress 7.0
  • SECURITY: Added whitelist validation for ads_type and domain mode options
  • SECURITY: Escaped error message output in domain validation
  • SECURITY: Removed redundant nonce field (handled by Settings API)
  • FIX: Domain validation now supports wildcard patterns (*.example.com) as expected by ShrtFly script
  • FIX: Made constructor private to enforce singleton pattern correctly
  • FIX: Moved admin_init registration to constructor (was incorrectly nested in admin_menu)
  • FIX: Removed unused enabled_stats option
  • IMPROVEMENT: Replaced jQuery dependency with vanilla JavaScript
  • IMPROVEMENT: Added PHP 8.0 typed properties and return types
  • IMPROVEMENT: Moved inline CSS to wp_add_inline_style for proper asset loading
  • IMPROVEMENT: Cleaned up uninstall to remove only existing options
  • UI: Complete admin page redesign with modern card-based layout
  • UI: Added branded header with gradient, plugin version badge, and live status indicator
  • UI: Toggle switches replacing plain checkboxes for boolean settings
  • UI: Pill-style radio buttons for ADS type and domain mode selection
  • UI: Section cards with contextual color-coded icons (settings, API, domains)
  • UI: Inline API token status badge with dot indicator
  • UI: Improved input styling with focus states and consistent border-radius
  • UI: Added plugin page link in footer
  • UI: Fixed Plugin URI and removed broken donate link pointing to non-existent anchors

1.6.0

  • SECURITY: Fixed critical file inclusion vulnerability
  • SECURITY: Added comprehensive input sanitization and validation
  • SECURITY: Implemented nonce verification and capability checks
  • FIX: Corrected domain validation logic
  • FIX: Fixed AMP plugin detection typo
  • IMPROVEMENT: Complete code refactoring with WordPress standards
  • IMPROVEMENT: Enhanced admin interface with better UX
  • IMPROVEMENT: Added performance optimizations
  • IMPROVEMENT: Proper script enqueueing and loading
  • IMPROVEMENT: Added internationalization support
  • NEW: Added activation/deactivation/uninstall hooks
  • NEW: Implemented singleton pattern
  • NEW: Added comprehensive error handling

1.5.0

  • Add support for different ads type (Mainstream or Adult)
  • Minor fix

1.4.0

  • Add support for new ShrtFly API v2 2022
  • Support for WordPress 6.1 added

1.3.0

  • Add option for load javascript lib with defer mode
  • Support for WordPress 6.x added

1.2.0

  • Support for WordPress 5.9 added

1.1.0

  • Support for WordPress 5.9 added
  • Minor bug fix

1.0.0

  • Public release

Plugin Website
Visit website

Author
Vincenzo
Version:
2.0.0
Last Updated
March 22, 2026
Requires
WordPress 6.0
Tested Up To
WordPress 7.0
Requires PHP
8.0

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.