Security: Implemented robust nonce verification and current_user_can() capability checks for all administrative actions and post saves.
Security: Replaced unsafe unserialize() function with secure json_decode() for processing Flickr API data.
Standards: Refactored all inline CSS and JavaScript into external enqueued files for improved security and performance.
Standards: Standardized all internal constants and asset handles with a unique ‘AWL_FG_’ prefix to prevent collisions.
Compliance: Resolved WordPress 6.7+ “called incorrectly” notice by optimizing text domain loading on the init hook.
Optimization: Removed unused TGM Plugin Activation library (~126KB) and redundant promotional files to streamline the plugin.
Compliance: Stripped non-GPL compatible code and removed non-compliant “Pro” version links/upsells per repository guidelines.
Hardening: Added thorough input sanitization and existence checks (isset) for all user-submitted data to prevent PHP notices and ensure data integrity.
Tested with WordPress 6.9. And PHP 8.5
1.5.2
Modern API Settings Page: Redesigned the API Settings page with a “Hyper-Modern” UI, featuring glassmorphism cards, mesh gradients, and improved input styling.
New Thumbnail Size: Added Small 320px (url_n) option to the Gallery Settings.