Skip to content

Commit 3fc7236

Browse files
authored
Updates
1 parent 6bd2ae8 commit 3fc7236

12 files changed

Lines changed: 130 additions & 92 deletions

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The automated compatibility test has failed for the following environment:
1717

1818
### Next Steps
1919

20-
This issue has been automatically created because the EngineScript Simple Site Exporter plugin failed compatibility testing with this specific WordPress and PHP version combination. This could indicate:
20+
This issue has been automatically created because the Simple WP Site Exporter plugin failed compatibility testing with this specific WordPress and PHP version combination. This could indicate:
2121

2222
#### Potential Issues:
2323
1. **PHP Compatibility**: Code may use features not available in PHP {{ env.PHP_VERSION }}
@@ -39,7 +39,7 @@ This issue has been automatically created because the EngineScript Simple Site E
3939
docker run --rm -v $(pwd):/app wordpress:{{ env.WP_VERSION }}-php{{ env.PHP_VERSION }}-apache
4040

4141
# Run plugin check locally
42-
wp plugin check Simple-Site-Exporter --format=json --require=./wp-content/plugins/plugin-check/cli.php
42+
wp plugin check Simple-WP-Site-Exporter --format=json --require=./wp-content/plugins/plugin-check/cli.php
4343
```
4444

4545
Once fixed, please close this issue and reference it in the changelog.

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

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

77
## WordPress Plugin Check Failure
88

9-
The WordPress Plugin Check action has identified issues with the EngineScript Simple Site Exporter plugin.
9+
The WordPress Plugin Check action has identified issues with the Simple WP Site Exporter plugin.
1010

1111
### Details
1212

.github/workflows/continuous-integration.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
# This workflow runs continuous integration checks on the EngineScript Simple Site Exporter plugin.
2-
# It performs code linting for both PHP and JavaScript files and builds the plugin package.
1+
# This workflow runs continuous integration checks on the Simple WP Site Exporter plugin.
2+
# It performs code linting for both PHP and JavaScript files and builds t mkdir -p build/simple-wp-site-exporter
3+
4+
# Copy main plugin files
5+
cp simple-site-exporter.php build/simple-wp-site-exporter/lugin package.
36
# The workflow is triggered on push to main branch and on pull requests to ensure code quality.
47
# It creates and stores a plugin zip file as an artifact that can be used for testing.
58

@@ -161,29 +164,29 @@ jobs:
161164
162165
- name: Create plugin package
163166
run: |
164-
mkdir -p build/enginescript-simple-site-exporter
167+
mkdir -p build/simple-wp-site-exporter
165168
166169
# Copy main plugin file
167-
cp simple-site-exporter.php build/enginescript-simple-site-exporter/
170+
cp simple-site-exporter.php build/simple-wp-site-exporter/
168171
169172
# Copy directories if they exist
170-
[ -d assets ] && cp -r assets build/enginescript-simple-site-exporter/ || echo "No assets directory found"
171-
[ -d includes ] && cp -r includes build/enginescript-simple-site-exporter/ || echo "No includes directory found"
172-
[ -d languages ] && cp -r languages build/enginescript-simple-site-exporter/ || echo "No languages directory found"
173-
[ -d templates ] && cp -r templates build/enginescript-simple-site-exporter/ || echo "No templates directory found"
173+
[ -d assets ] && cp -r assets build/simple-wp-site-exporter/ || echo "No assets directory found"
174+
[ -d includes ] && cp -r includes build/simple-wp-site-exporter/ || echo "No includes directory found"
175+
[ -d languages ] && cp -r languages build/simple-wp-site-exporter/ || echo "No languages directory found"
176+
[ -d templates ] && cp -r templates build/simple-wp-site-exporter/ || echo "No templates directory found"
174177
175178
# Copy additional files if they exist
176-
[ -f readme.txt ] && cp readme.txt build/enginescript-simple-site-exporter/ || echo "No readme.txt found"
177-
[ -f README.md ] && cp README.md build/enginescript-simple-site-exporter/ || echo "No README.md found"
178-
[ -f CHANGELOG.md ] && cp CHANGELOG.md build/enginescript-simple-site-exporter/ || echo "No CHANGELOG.md found"
179-
[ -f LICENSE ] && cp LICENSE build/enginescript-simple-site-exporter/ || echo "No LICENSE file found"
179+
[ -f readme.txt ] && cp readme.txt build/simple-wp-site-exporter/ || echo "No readme.txt found"
180+
[ -f README.md ] && cp README.md build/simple-wp-site-exporter/ || echo "No README.md found"
181+
[ -f CHANGELOG.md ] && cp CHANGELOG.md build/simple-wp-site-exporter/ || echo "No CHANGELOG.md found"
182+
[ -f LICENSE ] && cp LICENSE build/simple-wp-site-exporter/ || echo "No LICENSE file found"
180183
181184
# Create zip file
182185
cd build
183-
zip -r enginescript-simple-site-exporter.zip enginescript-simple-site-exporter
186+
zip -r simple-wp-site-exporter.zip simple-wp-site-exporter
184187
185188
- name: Upload build artifact
186189
uses: actions/upload-artifact@v4
187190
with:
188-
name: enginescript-simple-site-exporter
189-
path: build/enginescript-simple-site-exporter.zip
191+
name: simple-wp-site-exporter
192+
path: build/simple-wp-site-exporter.zip

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
issue-number: ${{ github.event.pull_request.number }}
2222
body: |
23-
Thanks for contributing to EngineScript Simple Site Exporter! 🎉
23+
Thanks for contributing to Simple WP Site Exporter! 🎉
2424
2525
2626
We'll review your PR soon!

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ jobs:
4242
- name: Create zip file
4343
if: steps.check_release.outputs.exists == 'false'
4444
run: |
45-
mkdir -p enginescript-simple-site-exporter
46-
cp simple-site-exporter.php enginescript-simple-site-exporter/
47-
cp README.md enginescript-simple-site-exporter/
48-
cp CHANGELOG.md enginescript-simple-site-exporter/
49-
cp LICENSE enginescript-simple-site-exporter/ || echo "No LICENSE file found"
50-
zip -r enginescript-simple-site-exporter-${{ steps.get_version.outputs.version }}.zip enginescript-simple-site-exporter
45+
mkdir -p simple-wp-site-exporter
46+
cp simple-site-exporter.php simple-wp-site-exporter/
47+
cp README.md simple-wp-site-exporter/
48+
cp CHANGELOG.md simple-wp-site-exporter/
49+
cp LICENSE simple-wp-site-exporter/ || echo "No LICENSE file found"
50+
zip -r simple-wp-site-exporter-${{ steps.get_version.outputs.version }}.zip simple-wp-site-exporter
5151
5252
- name: Get changelog entry
5353
if: steps.check_release.outputs.exists == 'false'
@@ -73,7 +73,7 @@ jobs:
7373
3. Activate the plugin
7474
7575
[Full Documentation](https://github.com/${{ github.repository }})
76-
files: enginescript-simple-site-exporter-${{ steps.get_version.outputs.version }}.zip
76+
files: simple-wp-site-exporter-${{ steps.get_version.outputs.version }}.zip
7777
draft: false
7878
prerelease: false
7979
generate_release_notes: false
@@ -88,7 +88,7 @@ jobs:
8888
TMP_FILE=$(mktemp)
8989
9090
# Update the version badge with the new version and logo
91-
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-Simple-Site-Exporter\/releases\/latest\/download\/enginescript-simple-site-exporter-[0-9]+\.[0-9]+\.[0-9]+\.zip\)/\[\!Version\]\(https:\/\/img\.shields\.io\/badge\/Version-'"$VERSION"'-orange\.svg\?logo=github\)\]\(https:\/\/github\.com\/EngineScript\/EngineScript-Simple-Site-Exporter\/releases\/latest\/download\/enginescript-simple-site-exporter-'"$VERSION"'\.zip\)/g' "$README_FILE" > "$TMP_FILE"
91+
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-Simple-Site-Exporter\/releases\/latest\/download\/simple-wp-site-exporter-[0-9]+\.[0-9]+\.[0-9]+\.zip\)/\[\!Version\]\(https:\/\/img\.shields\.io\/badge\/Version-'"$VERSION"'-orange\.svg\?logo=github\)\]\(https:\/\/github\.com\/EngineScript\/EngineScript-Simple-Site-Exporter\/releases\/latest\/download\/simple-wp-site-exporter-'"$VERSION"'\.zip\)/g' "$README_FILE" > "$TMP_FILE"
9292
9393
# Replace file if changes were made
9494
if ! cmp -s "$README_FILE" "$TMP_FILE"; then

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ jobs:
249249
*/
250250
251251
/**
252-
* Simple test case for EngineScript Simple Site Exporter plugin.
252+
* Simple test case for Simple WP Site Exporter plugin.
253253
*/
254254
class Test_EngineScript_Simple_Site_Exporter extends WP_UnitTestCase {
255255
/**
@@ -278,7 +278,7 @@ jobs:
278278
convertWarningsToExceptions="true"
279279
>
280280
<testsuites>
281-
<testsuite name="EngineScript Simple Site Exporter">
281+
<testsuite name="Simple WP Site Exporter">
282282
<directory prefix="test-" suffix=".php">./tests/</directory>
283283
</testsuite>
284284
</testsuites>

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
# Changelog for EngineScript: Simple Site Exporter
1+
# Changelog for Simple WP Site Exporter
2+
3+
## 1.6.2 - June 6, 2025
4+
### Plugin Rebrand
5+
- **Plugin Renamed**: Changed plugin name from "EngineScript: Simple Site Exporter" to "Simple WP Site Exporter"
6+
- **Text Domain Updated**: Updated text domain from 'Simple-Site-Exporter' to 'simple-wp-site-exporter' for consistency
7+
- **Package Name Updated**: Updated composer package name to 'enginescript/simple-wp-site-exporter'
8+
- **Directory Names Updated**: Updated export directory from 'enginescript-sse-site-exports' to 'simple-wp-site-exporter-exports'
9+
- **GitHub Workflows Updated**: Updated all GitHub Actions workflows to reference the new plugin name
10+
- **Documentation Updated**: Updated README.md, readme.txt, and all documentation to reflect the new plugin name
211

312
## 1.6.1 - May 24, 2025
413
### WordPress Plugin Check Compliance
@@ -14,7 +23,7 @@
1423
- **Improved File Operations**: Replaced unsafe `@unlink()` calls with `sse_safely_delete_file()` function using WordPress Filesystem API with proper error handling
1524
- **Execution Time Safety**: Enhanced `set_time_limit()` usage with safety checks, reasonable 30-minute limits instead of unlimited execution, and proper logging
1625
- **Path Security**: Added `sse_validate_filepath()` function to prevent directory traversal attacks with comprehensive path validation
17-
- **Text Domain Standardization**: Updated all translatable strings to use consistent 'Simple-Site-Exporter' text domain across the entire plugin
26+
- **Text Domain Standardization**: Updated all translatable strings to use consistent 'simple-wp-site-exporter' text domain across the entire plugin
1827

1928
### GitHub Actions Security Updates
2029
- Pinned all GitHub Actions to specific commit hashes instead of version tags for improved security

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
# EngineScript Simple Site Exporter
2-
3-
A WordPress plugin that exports your entire site, including files and database, as a secure, downloadable ZIP archive.
1+
# Simple WP Site Exporter
42

53
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/d81efac1703c4d3b8b998d2587cd696b)](https://app.codacy.com/gh/EngineScript/EngineScript-Simple-Site-Exporter/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
64
[![License](https://img.shields.io/badge/License-GPL%20v3-green.svg?logo=gnu)](https://www.gnu.org/licenses/gpl-3.0.html)
7-
[![WordPress Compatible](https://img.shields.io/badge/WordPress-5.8%2B-blue.svg?logo=wordpress)](https://wordpress.org/)
5+
[![WordPress Compatible](https://img.shields.io/badge/WordPress-6.0%2B-blue.svg?logo=wordpress)](https://wordpress.org/)
86
[![PHP Compatible](https://img.shields.io/badge/PHP-7.4%2B-purple.svg?logo=php)](https://www.php.net/)
97

108
## Current Version
11-
[![Version](https://img.shields.io/badge/Version-1.5.8-orange.svg?logo=github)](https://github.com/EngineScript/EngineScript-Simple-Site-Exporter/releases/latest/download/enginescript-simple-site-exporter-1.5.8.zip)
9+
[![Version](https://img.shields.io/badge/Version-1.6.2-orange.svg?logo=github)](https://github.com/EngineScript/EngineScript-Simple-Site-Exporter/releases/latest/download/simple-wp-site-exporter-1.6.2.zip)
1210

1311
## Description
12+
A WordPress plugin that exports your entire site, including files and database, as a secure, downloadable ZIP archive.
1413

15-
EngineScript Simple Site Exporter provides WordPress administrators with a straightforward, secure way to export their entire website. With a single click, you can create a complete backup of your site's files and database, perfect for site migrations, backups, or local development environments.
14+
EngineScript Simple WP Site Exporter provides WordPress administrators with a straightforward, secure way to export their entire website. With a single click, you can create a complete backup of your site's files and database, perfect for site migrations, backups, or local development environments.
1615

1716
### Key Features
1817

@@ -61,14 +60,14 @@ The export format is specifically designed to work with EngineScript's site impo
6160

6261
## Requirements
6362

64-
- WordPress 5.8 or higher
63+
- WordPress 6.0 or higher
6564
- PHP 7.4 or higher
6665
- Write access to the WordPress uploads directory
6766
- For database exports: MySQL access or WP-CLI installed
6867

6968
## Security Features
7069

71-
EngineScript Simple Site Exporter is built with security as a priority:
70+
Simple WP Site Exporter is built with security as a priority:
7271

7372
- **Export Authentication**: Only authorized administrators can create and download exports
7473
- **Secure Downloads**: All downloads are validated with WordPress nonces
@@ -115,7 +114,7 @@ This plugin is licensed under the [GPL v3 or later](https://www.gnu.org/licenses
115114

116115
## Credits
117116

118-
EngineScript Simple Site Exporter is developed and maintained by [EngineScript](https://github.com/EngineScript/EngineScript).
117+
Simple WP Site Exporter is developed and maintained by [EngineScript](https://github.com/EngineScript/EngineScript).
119118

120119
## Support
121120

composer.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "enginescript/simple-site-exporter",
3-
"description": "EngineScript Simple Site Exporter - Export your entire WordPress site as a ZIP archive",
2+
"name": "enginescript/simple-wp-site-exporter",
3+
"description": "Simple WP Site Exporter - Export your entire WordPress site as a ZIP archive",
44
"type": "wordpress-plugin",
55
"license": "GPL-3.0-or-later",
66
"authors": [
@@ -17,7 +17,10 @@
1717
"phpunit/phpunit": "^9.5",
1818
"yoast/phpunit-polyfills": "^4.0",
1919
"wp-coding-standards/wpcs": "^2.3",
20-
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0"
20+
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
21+
"php-stubs/wordpress-stubs": "^6.8",
22+
"szepeviktor/phpstan-wordpress": "^1.3",
23+
"phpstan/phpstan": "^1.0"
2124
},
2225
"config": {
2326
"allow-plugins": {

phpstan.neon

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
includes:
2+
- vendor/szepeviktor/phpstan-wordpress/extension.neon
3+
4+
parameters:
5+
level: 5
6+
paths:
7+
- simple-wp-optimizer.php
8+
9+
bootstrapFiles:
10+
- vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
11+
12+
ignoreErrors:
13+
# Ignore WordPress global variables that might not be defined in test context
14+
- '#Variable \$wpdb might not be defined#'
15+
- '#Variable \$wp_query might not be defined#'
16+
- '#Variable \$post might not be defined#'

0 commit comments

Comments
 (0)