Skip to content

Commit 72b57a9

Browse files
committed
fixes
1 parent 4b61e36 commit 72b57a9

9 files changed

Lines changed: 12 additions & 10 deletions

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ applyTo: '**'
1010
- **Text Domain:** `enginescript-site-optimizer`
1111
- **Function/Hook Prefix:** `es_optimizer_`
1212
- **Version Constant:** `ES_SITE_OPTIMIZER_VERSION`
13-
- **WordPress:** 6.6+ | **PHP:** 8.2+
13+
- **WordPress:** 6.8+ | **PHP:** 8.2+
1414
- **Work Environment:** GitHub Codespaces (remote). Never suggest local terminal commands.
1515

1616
## Code Standards

.github/workflows/new-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
Thanks for contributing to EngineScript Site Optimizer!
2525
2626
**Before we review:**
27-
- [ ] Have you tested your changes with WordPress 6.6+?
27+
- [ ] Have you tested your changes with WordPress 6.8+?
2828
- [ ] Are your changes compatible with PHP 8.2+?
2929
- [ ] Have you followed WordPress coding standards?
3030
- [ ] Did you update the CHANGELOG.md if needed?

.github/workflows/wp-compatibility-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ jobs:
957957
$this->assertNotEmpty($wp_version, 'WordPress version should be available');
958958
959959
// Test that we're running on a supported WordPress version
960-
$min_wp_version = '6.6';
960+
$min_wp_version = '6.8';
961961
$this->assertTrue(version_compare($wp_version, $min_wp_version, '>='),
962962
"WordPress version {$wp_version} should be >= {$min_wp_version}");
963963
}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3636
- **Code Quality**: Replaced deprecated HTML `valign="top"` attribute with standard `<tr>` (WordPress `form-table` CSS already handles alignment)
3737
- **CI**: Updated Node.js from EOL version 16 to LTS version 20 in continuous integration workflow
3838
- **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)
39+
- **Docs**: Raised the documented WordPress baseline to 6.8+ across plugin metadata and contributor guidance
3940
- **Docs**: Updated POT translation file with correct line references and added new translatable section header strings
4041
- **Security**: Removed `phpcs:ignore` suppression on resource hint output by using the native WordPress resource hint API
4142
- **Security**: Replaced fragile substring crossorigin detection (`fonts.g`, `gstatic`) with exact hostname matching against `fonts.googleapis.com` and `fonts.gstatic.com`

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This project follows the [WordPress Community Code of Conduct](https://make.word
1111
### Requirements
1212

1313
- **PHP**: 8.2 or higher
14-
- **WordPress**: 6.6 or higher
14+
- **WordPress**: 6.8 or higher
1515
- **Composer**: For dependency management
1616
- **Node.js**: 16+ (if working with build tools)
1717
- **Git**: For version control
@@ -170,7 +170,7 @@ function es_optimizer_example_function( $input ) {
170170
### Testing
171171

172172
1. **Manual Testing**:
173-
- Test in WordPress 6.6+ and the latest version
173+
- Test in WordPress 6.8+ and the latest version
174174
- Test with PHP 8.2 and 8.3+
175175
- Verify admin interface functionality
176176
- Check frontend optimizations

GEMINI.md

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

1010
- **Name:** EngineScript Site Optimizer
1111
- **Version:** 2.0.0
12-
- **WordPress Compatibility:** 6.6+
12+
- **WordPress Compatibility:** 6.8+
1313
- **PHP Compatibility:** 8.2+
1414
- **License:** GPL-3.0-or-later
1515
- **Text Domain:** enginescript-site-optimizer

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/cf82cdb35973466abe7895e6d37666ed)](https://app.codacy.com/gh/EngineScript/enginescript-site-optimizer/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
44
[![GitHub License](https://img.shields.io/badge/License-GPL%20v3-green.svg?logo=gnu)](https://www.gnu.org/licenses/gpl-3.0.html)
5-
[![WordPress Compatible](https://img.shields.io/badge/WordPress-6.6%2B-blue.svg?logo=wordpress)](https://wordpress.org/)
5+
[![WordPress Compatible](https://img.shields.io/badge/WordPress-6.8%2B-blue.svg?logo=wordpress)](https://wordpress.org/)
66
[![PHP Compatible](https://img.shields.io/badge/PHP-8.2%2B-purple.svg?logo=php)](https://www.php.net/)
77

88
## Current Version
@@ -95,7 +95,7 @@ Yes, hiding the WordPress version can provide a minor security benefit by making
9595
### Requirements
9696

9797
- PHP 8.2 or higher
98-
- WordPress 6.6 or higher
98+
- WordPress 6.8 or higher
9999
- Composer (for development and testing)
100100

101101
### Set Up the Development Environment

enginescript-site-optimizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GPL-3.0-or-later
99
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
1010
* Text Domain: enginescript-site-optimizer
11-
* Requires at least: 6.6
11+
* Requires at least: 6.8
1212
* Requires PHP: 8.2
1313
* Tested up to: 6.9
1414
* Security: Follows OWASP security guidelines and WordPress best practices

readme.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
=== EngineScript Site Optimizer ===
22
Contributors: enginescript
33
Tags: optimization, performance, cleanup
4-
Requires at least: 6.6
4+
Requires at least: 6.8
55
Tested up to: 6.9
66
Stable tag: 2.0.0
77
Requires PHP: 8.2
@@ -64,6 +64,7 @@ No, the plugin has a simple interface where you can toggle features on and off.
6464
* **CODE QUALITY**: Replaced deprecated HTML `valign` attribute in settings form
6565
* **CI**: Updated Node.js from EOL version 16 to LTS version 20
6666
* **DOCS**: Corrected feature lists in GEMINI.md and readme.txt to match actually implemented features
67+
* **DOCS**: Raised the documented WordPress baseline to 6.8+ across plugin metadata and contributor guidance
6768
* **DOCS**: Updated POT translation file with correct line references and new section header strings
6869
* **SECURITY**: Eliminated `phpcs:ignore` on preconnect output with explicit if/else for crossorigin
6970
* **SECURITY**: Replaced fragile substring crossorigin detection with exact hostname matching

0 commit comments

Comments
 (0)