Skip to content

Commit 7774fd6

Browse files
committed
Release
1 parent a234a5a commit 7774fd6

7 files changed

Lines changed: 61 additions & 28 deletions

File tree

.gitignore

Lines changed: 45 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,49 @@
1-
# Test and build artifacts
2-
/vendor/
3-
/coverage/
4-
/build/
5-
/plugin-check-build/
6-
71
# Local private files
8-
/.private/
2+
AGENTS.md
3+
.private/
4+
.vscode/
95

10-
# PHP tooling caches
11-
/.phpunit.cache/
12-
/.phpunit.result.cache
13-
/.php-cs-fixer.cache
14-
/.phpcs-cache
15-
/.phpstan.cache/
16-
/.psalm/cache/
6+
# JetBrains IDE project files
7+
.idea/
178

18-
# Python tooling caches
19-
__pycache__/
9+
# OS/editor noise
10+
*.swo
11+
*.swp
12+
*~
13+
.DS_Store
14+
Thumbs.db
15+
16+
# Tool caches
2017
*.py[cod]
18+
.cache/
19+
.cspellcache
20+
.eslintcache
21+
.php-cs-fixer.cache
22+
.phpcs-cache
23+
.phpstan.cache
24+
.phpunit.cache
25+
.phpunit.result.cache
26+
.psalm/cache
27+
.stylelintcache
28+
__pycache__/
29+
30+
# Logs and temporary files
31+
*.backup
32+
*.bak
33+
*.log
34+
*.log.*
35+
*.old
36+
*.orig
37+
*.temp
38+
*.tmp
39+
logs/
40+
temp/
41+
tmp/
42+
43+
# Dependencies, tests, and build artifacts
44+
build/
45+
coverage/
46+
dist/
47+
node_modules/
48+
plugin-check-build/
49+
vendor/

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55

66
## Unreleased
77

8+
## [2.1.0] - 2026-06-10
9+
810
### Fixed
911

1012
- **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
@@ -38,6 +40,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3840
- **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)
3941
- **Docs**: Raised the documented WordPress baseline to 6.8+ across plugin metadata and contributor guidance
4042
- **Docs**: Updated POT translation file with correct line references and added new translatable section header strings
43+
- **Tooling**: Expanded `.gitignore` coverage for local instruction files, IDE settings, caches, logs, temporary files, dependencies, and distribution artifacts
4144
- **Security**: Removed `phpcs:ignore` suppression on resource hint output by using the native WordPress resource hint API
4245
- **Security**: Replaced fragile substring crossorigin detection (`fonts.g`, `gstatic`) with exact hostname matching against `fonts.googleapis.com` and `fonts.gstatic.com`
4346

GEMINI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is a WordPress performance optimization plugin that removes unnecessary fea
88
## Plugin Details
99

1010
- **Name:** EngineScript Site Optimizer
11-
- **Version:** 2.0.0
11+
- **Version:** 2.1.0
1212
- **WordPress Compatibility:** 6.8+
1313
- **PHP Compatibility:** 8.2+
1414
- **License:** GPL-3.0-or-later

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## Current Version
99

10-
[![Version](https://img.shields.io/badge/Version-2.0.0-orange.svg?logo=github)](https://github.com/EngineScript/enginescript-site-optimizer/releases/download/v2.0.0/enginescript-site-optimizer-2.0.0.zip)
10+
[![Version](https://img.shields.io/badge/Version-2.1.0-orange.svg?logo=github)](https://github.com/EngineScript/enginescript-site-optimizer/releases/download/v2.1.0/enginescript-site-optimizer-2.1.0.zip)
1111

1212
## Description
1313

enginescript-site-optimizer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: EngineScript Site Optimizer
44
* Plugin URI: https://github.com/EngineScript/enginescript-site-optimizer
55
* Description: Optimizes WordPress by removing unnecessary features and scripts to improve performance
6-
* Version: 2.0.0
6+
* Version: 2.1.0
77
* Author: EngineScript
88
* License: GPL-3.0-or-later
99
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -23,7 +23,7 @@
2323

2424
// Define plugin version.
2525
if ( ! defined( 'ES_SITE_OPTIMIZER_VERSION' ) ) {
26-
define( 'ES_SITE_OPTIMIZER_VERSION', '2.0.0' );
26+
define( 'ES_SITE_OPTIMIZER_VERSION', '2.1.0' );
2727
}
2828

2929
if ( ! defined( 'ES_SITE_OPTIMIZER_FILE' ) ) {

languages/enginescript-site-optimizer.pot

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,35 @@
22
# This file is distributed under the GPL-3.0-or-later.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: EngineScript Site Optimizer 2.0.0\n"
5+
"Project-Id-Version: EngineScript Site Optimizer 2.1.0\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/enginescript-site-optimizer\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <LL@li.org>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2026-05-15T07:31:17+00:00\n"
12+
"POT-Creation-Date: 2026-06-10T08:57:58+00:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.12.0\n"
1515
"X-Domain: enginescript-site-optimizer\n"
1616

1717
#. Plugin Name of the plugin
18-
#: enginescript-site-optimizer.php
18+
#: enginescript-site-optimizer.php:3
1919
msgid "EngineScript Site Optimizer"
2020
msgstr ""
2121

2222
#. Plugin URI of the plugin
23-
#: enginescript-site-optimizer.php
23+
#: enginescript-site-optimizer.php:4
2424
msgid "https://github.com/EngineScript/enginescript-site-optimizer"
2525
msgstr ""
2626

2727
#. Description of the plugin
28-
#: enginescript-site-optimizer.php
28+
#: enginescript-site-optimizer.php:5
2929
msgid "Optimizes WordPress by removing unnecessary features and scripts to improve performance"
3030
msgstr ""
3131

3232
#. Author of the plugin
33-
#: enginescript-site-optimizer.php
33+
#: enginescript-site-optimizer.php:7
3434
msgid "EngineScript"
3535
msgstr ""
3636

readme.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: enginescript
33
Tags: optimization, performance, cleanup
44
Requires at least: 6.8
55
Tested up to: 7.0
6-
Stable tag: 2.0.0
6+
Stable tag: 2.1.0
77
Requires PHP: 8.2
88
License: GPLv3 or later
99
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -43,7 +43,7 @@ No, the plugin has a simple interface where you can toggle features on and off.
4343

4444
== Changelog ==
4545

46-
= Unreleased =
46+
= 2.1.0 - 2026-06-10 =
4747
* **BUG FIX**: 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
4848
* **BUG FIX (Critical)**: Fixed License URI pointing to GPL 2.0 instead of GPL 3.0 in plugin header and readme.txt
4949
* **BUG FIX (Critical)**: Fixed release workflow producing incomplete zip files missing `languages/` directory and `readme.txt`
@@ -66,6 +66,7 @@ No, the plugin has a simple interface where you can toggle features on and off.
6666
* **DOCS**: Corrected feature lists in GEMINI.md and readme.txt to match actually implemented features
6767
* **DOCS**: Raised the documented WordPress baseline to 6.8+ across plugin metadata and contributor guidance
6868
* **DOCS**: Updated POT translation file with correct line references and new section header strings
69+
* **TOOLING**: Expanded `.gitignore` coverage for local instruction files, IDE settings, caches, logs, temporary files, dependencies, and distribution artifacts
6970
* **SECURITY**: Eliminated `phpcs:ignore` on preconnect output with explicit if/else for crossorigin
7071
* **SECURITY**: Replaced fragile substring crossorigin detection with exact hostname matching
7172

0 commit comments

Comments
 (0)