Skip to content

Releases: EngineScript/enginescript-site-optimizer

Release v2.1.0

10 Jun 09:00

Choose a tag to compare

Fixed

  • Bug: Removed a redundant is_array() check in es_optimizer_disable_emojis_tinymce() after adding a strict array parameter 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 and readme.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 msgid entries in POT translation file and corrected license header
  • Bug: Fixed CI lint step that never ran because it checked for .phpcs.xml or phpcs.xml.dist but the actual file is phpcs.xml
  • Bug: Fixed README.md license text incorrectly stating GPL-2.0+ instead of GPL-3.0-or-later

Added

  • Added uninstall.php to 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-wp to composer.json require-dev (required by phpcs.xml ruleset)
  • Added scripts section to composer.json with lint:php and analyze commands 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_hints filter
  • Code Quality: Replaced deprecated HTML valign="top" attribute with standard <tr> (WordPress form-table CSS already handles alignment)
  • CI: Updated Node.js from EOL version 16 to LTS version 20 in continuous integration workflow
  • Docs: Corrected GEMINI.md and readme.txt feature 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 .gitignore coverage for local instruction files, IDE settings, caches, logs, temporary files, dependencies, and distribution artifacts
  • Security: Removed phpcs:ignore suppression 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 against fonts.googleapis.com and fonts.gstatic.com

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v2.0.0

01 Mar 10:18
cb48ec1

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.8.1

28 Feb 22:54
60e70d4

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.8.0

24 Oct 06:23
2c3eeea

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.7.0

13 Aug 22:31
9472f55

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.6.0

10 Aug 05:42
286376a

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.5.12

02 Aug 22:04
702ecf6

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.5.11

11 Jul 06:44
5bed6fc

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.5.10

08 Jul 02:27
62b3bc3

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.5.9

26 Jun 21:22
90f034c

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation