Skip to content

Commit cb48ec1

Browse files
authored
Rename
1 parent 60e70d4 commit cb48ec1

20 files changed

+215
-168
lines changed

.github/ISSUE_TEMPLATE/compatibility-test-failure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The automated compatibility test for PHP {{ env.PHP_VERSION }} has failed.
1919

2020
### Next Steps
2121

22-
This issue has been automatically created because the Simple WP Optimizer plugin failed to load properly with PHP {{ env.PHP_VERSION }}. This could indicate compatibility issues that need to be addressed.
22+
This issue has been automatically created because the EngineScript Site Optimizer plugin failed to load properly with PHP {{ env.PHP_VERSION }}. This could indicate compatibility issues that need to be addressed.
2323

2424
#### Recommended Actions:
2525

.github/ISSUE_TEMPLATE/plugin-check-failure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ assignees: []
88

99
## WordPress Plugin Check Failure
1010

11-
The WordPress Plugin Check action has identified issues with the Simple WP Optimizer plugin.
11+
The WordPress Plugin Check action has identified issues with the EngineScript Site Optimizer plugin.
1212

1313
### Details
1414

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Core plugin functionality
88
core:
99
- changed-files:
10-
- any-glob-to-any-file: simple-wp-optimizer.php
10+
- any-glob-to-any-file: enginescript-site-optimizer.php
1111
- any-glob-to-any-file: includes/**/*
1212
- any-glob-to-any-file: assets/js/**/*
1313

.github/workflows/continuous-integration.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This workflow runs continuous integration checks on the Simple WP Optimizer plugin.
1+
# This workflow runs continuous integration checks on the EngineScript Site Optimizer plugin.
22
# It performs code linting for both PHP and JavaScript files and builds the plugin package.
33
# The workflow is triggered on push to main branch and on pull requests to ensure code quality.
44
# It creates and stores a plugin zip file as an artifact that can be used for testing.
@@ -161,27 +161,27 @@ jobs:
161161
162162
- name: Create plugin package
163163
run: |
164-
mkdir -p build/simple-wp-optimizer
164+
mkdir -p build/enginescript-site-optimizer
165165
166166
# Copy main plugin file
167-
cp simple-wp-optimizer.php build/simple-wp-optimizer/
167+
cp enginescript-site-optimizer.php build/enginescript-site-optimizer/
168168
169169
# Copy directories if they exist
170-
[ -d assets ] && cp -r assets build/simple-wp-optimizer/ || echo "No assets directory found"
171-
[ -d includes ] && cp -r includes build/simple-wp-optimizer/ || echo "No includes directory found"
172-
[ -d languages ] && cp -r languages build/simple-wp-optimizer/ || echo "No languages directory found"
173-
[ -d templates ] && cp -r templates build/simple-wp-optimizer/ || echo "No templates directory found"
170+
[ -d assets ] && cp -r assets build/enginescript-site-optimizer/ || echo "No assets directory found"
171+
[ -d includes ] && cp -r includes build/enginescript-site-optimizer/ || echo "No includes directory found"
172+
[ -d languages ] && cp -r languages build/enginescript-site-optimizer/ || echo "No languages directory found"
173+
[ -d templates ] && cp -r templates build/enginescript-site-optimizer/ || echo "No templates directory found"
174174
175175
# Copy additional files if they exist
176-
[ -f readme.txt ] && cp readme.txt build/simple-wp-optimizer/ || echo "No readme.txt found"
177-
[ -f LICENSE ] && cp LICENSE build/simple-wp-optimizer/ || echo "No LICENSE file found"
176+
[ -f readme.txt ] && cp readme.txt build/enginescript-site-optimizer/ || echo "No readme.txt found"
177+
[ -f LICENSE ] && cp LICENSE build/enginescript-site-optimizer/ || echo "No LICENSE file found"
178178
179179
# Create zip file
180180
cd build
181-
zip -r simple-wp-optimizer.zip simple-wp-optimizer
181+
zip -r enginescript-site-optimizer.zip enginescript-site-optimizer
182182
183183
- name: Upload build artifact
184184
uses: actions/upload-artifact@v6
185185
with:
186-
name: simple-wp-optimizer
187-
path: build/simple-wp-optimizer.zip
186+
name: enginescript-site-optimizer
187+
path: build/enginescript-site-optimizer.zip

.github/workflows/new-issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow automatically posts a guidance comment on new issues.
22
# It provides instructions to help users submit detailed information about their
3-
# WordPress environment and the issue they're experiencing with the Simple WP Optimizer plugin.
3+
# WordPress environment and the issue they're experiencing with the EngineScript Site Optimizer plugin.
44
# This helps maintainers diagnose and fix issues more efficiently.
55

66
name: Issue Guidance

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow automatically posts a guidance comment on new pull requests.
22
# It welcomes contributors and provides a brief message to acknowledge their
3-
# contribution to the Simple WP Optimizer plugin.
3+
# contribution to the EngineScript Site Optimizer plugin.
44
# The workflow is triggered whenever a new pull request is opened.
55

66
name: New Pull Request Guidance
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
issue-number: ${{ github.event.pull_request.number }}
2323
body: |
24-
Thanks for contributing to Simple WP Optimizer! 🎉
24+
Thanks for contributing to EngineScript Site Optimizer! 🎉
2525
2626
**Before we review:**
2727
- [ ] Have you tested your changes with WordPress 6.5+?

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This workflow automates the release process for the Simple WP Optimizer plugin.
1+
# This workflow automates the release process for the EngineScript Site Optimizer plugin.
22
# It extracts the version number from the main plugin file, checks if a release already exists,
33
# creates a zip file with the plugin contents, extracts release notes from the changelog,
44
# creates a GitHub release with the zip file attached, and updates version references in the README.
@@ -29,7 +29,7 @@ jobs:
2929
- name: Get latest version
3030
id: get_version
3131
run: |
32-
VERSION=$(grep -oP "Version: \K[0-9]+\.[0-9]+\.[0-9]+" simple-wp-optimizer.php)
32+
VERSION=$(grep -oP "Version: \K[0-9]+\.[0-9]+\.[0-9]+" enginescript-site-optimizer.php)
3333
echo "version=$VERSION" >> $GITHUB_OUTPUT
3434
echo "Found version: $VERSION"
3535
@@ -48,12 +48,12 @@ jobs:
4848
- name: Create zip file
4949
if: steps.check_release.outputs.exists == 'false'
5050
run: |
51-
mkdir -p simple-wp-optimizer
52-
cp simple-wp-optimizer.php simple-wp-optimizer/
53-
cp README.md simple-wp-optimizer/
54-
cp CHANGELOG.md simple-wp-optimizer/
55-
cp LICENSE simple-wp-optimizer/ || echo "No LICENSE file found"
56-
zip -r simple-wp-optimizer-${{ steps.get_version.outputs.version }}.zip simple-wp-optimizer
51+
mkdir -p enginescript-site-optimizer
52+
cp enginescript-site-optimizer.php enginescript-site-optimizer/
53+
cp README.md enginescript-site-optimizer/
54+
cp CHANGELOG.md enginescript-site-optimizer/
55+
cp LICENSE enginescript-site-optimizer/ || echo "No LICENSE file found"
56+
zip -r enginescript-site-optimizer-${{ steps.get_version.outputs.version }}.zip enginescript-site-optimizer
5757
5858
- name: Get changelog entry
5959
if: steps.check_release.outputs.exists == 'false'
@@ -79,7 +79,7 @@ jobs:
7979
3. Activate the plugin
8080
8181
[Full Documentation](https://github.com/${{ github.repository }})
82-
files: simple-wp-optimizer-${{ steps.get_version.outputs.version }}.zip
82+
files: enginescript-site-optimizer-${{ steps.get_version.outputs.version }}.zip
8383
draft: false
8484
prerelease: false
8585
generate_release_notes: false
@@ -94,7 +94,7 @@ jobs:
9494
TMP_FILE=$(mktemp)
9595
9696
# Update the version badge with the new version and logo
97-
sed -E 's/\[\!Version\]\(https:\/\/img\.shields\.io\/badge\/Version-[0-9]+\.[0-9]+\.[0-9]+-orange\.svg\?logo=github\)\]\(https:\/\/github\.com\/EngineScript\/simple-wp-optimizer\/releases\/latest\/download\/simple-wp-optimizer-[0-9]+\.[0-9]+\.[0-9]+\.zip\)/\[\!Version\]\(https:\/\/img\.shields\.io\/badge\/Version-'"$VERSION"'-orange\.svg\?logo=github\)\]\(https:\/\/github\.com\/EngineScript\/simple-wp-optimizer\/releases\/latest\/download\/simple-wp-optimizer-'"$VERSION"'\.zip\)/g' "$README_FILE" > "$TMP_FILE"
97+
sed -E 's/\[\!Version\]\(https:\/\/img\.shields\.io\/badge\/Version-[0-9]+\.[0-9]+\.[0-9]+-orange\.svg\?logo=github\)\]\(https:\/\/github\.com\/EngineScript\/enginescript-site-optimizer\/releases\/latest\/download\/enginescript-site-optimizer-[0-9]+\.[0-9]+\.[0-9]+\.zip\)/\[\!Version\]\(https:\/\/img\.shields\.io\/badge\/Version-'"$VERSION"'-orange\.svg\?logo=github\)\]\(https:\/\/github\.com\/EngineScript\/enginescript-site-optimizer\/releases\/latest\/download\/enginescript-site-optimizer-'"$VERSION"'\.zip\)/g' "$README_FILE" > "$TMP_FILE"
9898
9999
# Replace file if changes were made
100100
if ! cmp -s "$README_FILE" "$TMP_FILE"; then

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ jobs:
255255
<rule ref="WordPress.WP.I18n">
256256
<properties>
257257
<property name="text_domain" type="array">
258-
<element value="simple-wp-optimizer"/>
258+
<element value="enginescript-site-optimizer"/>
259259
</property>
260260
</properties>
261261
</rule>
@@ -364,7 +364,7 @@ jobs:
364364
# Use WordPress-specific PHPMD configuration (WordPress snake_case compatible)
365365
echo "Using WordPress-specific PHPMD configuration (WordPress snake_case compatible)..."
366366
# Run PHPMD but don't fail the build on naming convention issues
367-
phpmd simple-wp-optimizer.php text phpmd.xml || echo "PHPMD completed with warnings (WordPress naming conventions may differ from PHPMD defaults)"
367+
phpmd enginescript-site-optimizer.php text phpmd.xml || echo "PHPMD completed with warnings (WordPress naming conventions may differ from PHPMD defaults)"
368368
369369
- name: Create issue on PHPMD failure
370370
if: ${{ failure() }}
@@ -767,7 +767,7 @@ jobs:
767767
/**
768768
* PHPUnit bootstrap file for plugin tests.
769769
*
770-
* @package Simple_WP_Optimizer
770+
* @package EngineScript_Site_Optimizer
771771
*/
772772
773773
require_once '/tmp/wordpress-tests-lib/includes/functions.php';
@@ -777,7 +777,7 @@ jobs:
777777
return;
778778
}, 0);
779779
780-
require dirname( dirname( __FILE__ ) ) . '/simple-wp-optimizer.php';
780+
require dirname( dirname( __FILE__ ) ) . '/enginescript-site-optimizer.php';
781781
}
782782
783783
tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' );
@@ -790,12 +790,12 @@ jobs:
790790
cat > tests/test-plugin.php << 'EOF'
791791
<?php
792792
/**
793-
* Class Test_Simple_WP_Optimizer
793+
* Class Test_EngineScript_Site_Optimizer
794794
*
795-
* @package Simple_WP_Optimizer
795+
* @package EngineScript_Site_Optimizer
796796
*/
797797
798-
class Test_Simple_WP_Optimizer extends WP_UnitTestCase {
798+
class Test_EngineScript_Site_Optimizer extends WP_UnitTestCase {
799799
public function test_plugin_loaded() {
800800
$this->assertTrue(function_exists('es_optimizer_init_settings'), 'Plugin was not loaded correctly');
801801
}
@@ -825,7 +825,7 @@ jobs:
825825
convertWarningsToExceptions="true"
826826
>
827827
<testsuites>
828-
<testsuite name="Simple WP Optimizer">
828+
<testsuite name="EngineScript Site Optimizer">
829829
<directory prefix="test-" suffix=".php">./tests/</directory>
830830
</testsuite>
831831
</testsuites>

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6+
## [2.0.0] - 2026-02-28
7+
8+
### Changed
9+
10+
- **BREAKING**: Renamed plugin from "Simple WP Optimizer" to "EngineScript Site Optimizer" to comply with WordPress.org plugin directory naming restrictions (the term "wp" is not allowed in plugin names or slugs)
11+
- Plugin slug changed from `simple-wp-optimizer` to `enginescript-site-optimizer`
12+
- Text domain changed from `simple-wp-optimizer` to `enginescript-site-optimizer`
13+
- Version constant renamed from `ES_WP_OPTIMIZER_VERSION` to `ES_SITE_OPTIMIZER_VERSION`
14+
- Package name changed from `Simple_WP_Optimizer` to `EngineScript_Site_Optimizer`
15+
- Admin menu label changed from "WP Optimizer" to "Site Optimizer"
16+
617
## [1.8.1] - 2026-02-28
718

819
### Changed

CONTRIBUTING.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Contributing to Simple WP Optimizer
1+
# Contributing to EngineScript Site Optimizer
22

3-
Thank you for considering contributing to Simple WP Optimizer! This document provides guidelines and instructions for contributors.
3+
Thank you for considering contributing to EngineScript Site Optimizer! This document provides guidelines and instructions for contributors.
44

55
## Code of Conduct
66

@@ -21,8 +21,8 @@ This project follows the [WordPress Community Code of Conduct](https://make.word
2121
1. Fork the repository on GitHub
2222
2. Clone your fork locally:
2323
```bash
24-
git clone https://github.com/YOUR-USERNAME/simple-wp-optimizer.git
25-
cd simple-wp-optimizer
24+
git clone https://github.com/YOUR-USERNAME/enginescript-site-optimizer.git
25+
cd enginescript-site-optimizer
2626
```
2727

2828
3. Install dependencies:
@@ -61,7 +61,7 @@ This project adheres to **WordPress Coding Standards**:
6161

6262
3. **Internationalization**: All user-facing strings must be translatable
6363
- Use `__()`, `_e()`, `esc_html__()`, `esc_html_e()` functions
64-
- Text domain: `simple-wp-optimizer`
64+
- Text domain: `enginescript-site-optimizer`
6565

6666
4. **Accessibility**: Follow WCAG guidelines
6767
- Proper semantic markup
@@ -96,8 +96,8 @@ Run tests (when available):
9696
## File Structure
9797

9898
```
99-
simple-wp-optimizer/
100-
├── simple-wp-optimizer.php # Main plugin file
99+
enginescript-site-optimizer/
100+
├── enginescript-site-optimizer.php # Main plugin file
101101
├── README.md # Project documentation
102102
├── readme.txt # WordPress.org readme
103103
├── CHANGELOG.md # Version history
@@ -108,7 +108,7 @@ simple-wp-optimizer/
108108
├── phpstan.neon # PHPStan configuration
109109
├── phpmd.xml # PHPMD configuration
110110
├── languages/ # Translation files
111-
│ └── simple-wp-optimizer.pot
111+
│ └── enginescript-site-optimizer.pot
112112
└── .github/ # GitHub workflows
113113
└── workflows/
114114
```
@@ -117,7 +117,7 @@ simple-wp-optimizer/
117117

118118
### Before You Start
119119

120-
1. Check existing [issues](https://github.com/EngineScript/simple-wp-optimizer/issues) and [pull requests](https://github.com/EngineScript/simple-wp-optimizer/pulls)
120+
1. Check existing [issues](https://github.com/EngineScript/enginescript-site-optimizer/issues) and [pull requests](https://github.com/EngineScript/enginescript-site-optimizer/pulls)
121121
2. Create an issue for significant changes to discuss the approach
122122
3. Follow the existing code patterns and conventions
123123

@@ -245,11 +245,11 @@ style: fix PHPCS formatting violations
245245
### Updating Versions
246246

247247
When releasing new versions, update these files:
248-
- `simple-wp-optimizer.php` (plugin header)
248+
- `enginescript-site-optimizer.php` (plugin header)
249249
- `README.md`
250250
- `readme.txt`
251251
- `CHANGELOG.md`
252-
- `languages/simple-wp-optimizer.pot`
252+
- `languages/enginescript-site-optimizer.pot`
253253

254254
### Semantic Versioning
255255

@@ -260,8 +260,8 @@ This project follows [Semantic Versioning](https://semver.org/):
260260

261261
## Support Channels
262262

263-
- **Issues**: [GitHub Issues](https://github.com/EngineScript/simple-wp-optimizer/issues)
264-
- **Discussions**: [GitHub Discussions](https://github.com/EngineScript/simple-wp-optimizer/discussions)
263+
- **Issues**: [GitHub Issues](https://github.com/EngineScript/enginescript-site-optimizer/issues)
264+
- **Discussions**: [GitHub Discussions](https://github.com/EngineScript/enginescript-site-optimizer/discussions)
265265
- **Security**: Email security@enginescript.com for security issues
266266

267267
## Resources
@@ -282,8 +282,8 @@ This project follows [Semantic Versioning](https://semver.org/):
282282

283283
## License
284284

285-
By contributing to Simple WP Optimizer, you agree that your contributions will be licensed under the [GPL v2 or later](LICENSE) license.
285+
By contributing to EngineScript Site Optimizer, you agree that your contributions will be licensed under the [GPL v2 or later](LICENSE) license.
286286

287287
---
288288

289-
Thank you for contributing to Simple WP Optimizer! 🚀
289+
Thank you for contributing to EngineScript Site Optimizer! 🚀

0 commit comments

Comments
 (0)