Releases: EngineScript/enginescript-site-optimizer
Releases · EngineScript/enginescript-site-optimizer
Release v2.1.0
Fixed
- Bug: Removed a redundant
is_array()check ines_optimizer_disable_emojis_tinymce()after adding a strictarrayparameter type, resolving a PHPStan always-true warning on PHP 8.3 - Critical: Fixed License URI in plugin header and readme.txt pointing to GPL 2.0 instead of GPL 3.0
- Critical: Fixed release workflow producing incomplete zip files missing
languages/directory andreadme.txt - Bug: Fixed changelog parser in release workflow that could not match
## [VERSION]heading format in CHANGELOG.md, resulting in empty release bodies - Bug: Consolidated duplicate
msgidentries in POT translation file and corrected license header - Bug: Fixed CI lint step that never ran because it checked for
.phpcs.xmlorphpcs.xml.distbut the actual file isphpcs.xml - Bug: Fixed README.md license text incorrectly stating GPL-2.0+ instead of GPL-3.0-or-later
Added
- Added
uninstall.phpto properly clean up plugin options from the database when the plugin is deleted - Added section headers ("Performance Optimizations", "Header Cleanup", "Additional Features") to the settings page for better UX
- Split the monolithic plugin file into focused files under
includes/
Code Quality
- Added
phpcompatibility/phpcompatibility-wptocomposer.jsonrequire-dev(required byphpcs.xmlruleset) - Added
scriptssection tocomposer.jsonwithlint:phpandanalyzecommands for CI integration
Changed
- Modernization: Added modern PHP type declarations (parameter types and return types) to all functions
- Modernization: Replaced
isset()ternaries with null coalescing operator (??) in render helpers - Code Quality: Standardized all option-checking to use
empty()with early-return pattern - Code Quality: Consolidated duplicate domain validation, rejection notice, and output functions into shared helpers (
es_optimizer_validate_domain_list(),es_optimizer_show_rejection_notice(),es_optimizer_get_validated_domains()) - Code Quality: Replaced hand-written resource hint output with the native WordPress
wp_resource_hintsfilter - Code Quality: Replaced deprecated HTML
valign="top"attribute with standard<tr>(WordPressform-tableCSS already handles alignment) - CI: Updated Node.js from EOL version 16 to LTS version 20 in continuous integration workflow
- Docs: Corrected
GEMINI.mdandreadme.txtfeature lists to only include actually implemented features (removed references to XML-RPC, REST API restriction, auto-embeds, and Gutenberg CSS) - Docs: Raised the documented WordPress baseline to 6.8+ across plugin metadata and contributor guidance
- Docs: Updated POT translation file with correct line references and added new translatable section header strings
- Tooling: Expanded
.gitignorecoverage for local instruction files, IDE settings, caches, logs, temporary files, dependencies, and distribution artifacts - Security: Removed
phpcs:ignoresuppression on resource hint output by using the native WordPress resource hint API - Security: Replaced fragile substring crossorigin detection (
fonts.g,gstatic) with exact hostname matching againstfonts.googleapis.comandfonts.gstatic.com
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v2.0.0
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.8.1
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.8.0
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.7.0
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.6.0
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.5.12
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.5.11
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.5.10
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.5.9
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin