Skip to content

Commit a8510c8

Browse files
authored
WP Tested With Action
1 parent 5585476 commit a8510c8

6 files changed

Lines changed: 122 additions & 4 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: WordPress Version Checker
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
schedule:
7+
- cron: '0 0 * * 0' # Run once a week on Sunday at midnight
8+
workflow_dispatch: # Allow manual triggering
9+
10+
permissions:
11+
issues: write # Required for creating issues about WordPress version mismatches
12+
contents: read # Required for reading repository content including readme.txt
13+
pull-requests: write # Required for creating PRs to update WordPress version compatibility
14+
15+
jobs:
16+
wordpress-version-checker:
17+
name: WordPress version checker
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v4
22+
23+
- name: WordPress version checker
24+
uses: skaut/wordpress-version-checker@v2.2.3
25+
with:
26+
repo-token: ${{ secrets.GITHUB_TOKEN }}

.wordpress-version-checker.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"readme": "readme.txt",
3+
"channel": "stable",
4+
"assignees": ["EngineScript"],
5+
"labels": ["automated", "documentation"],
6+
"create-pr": true,
7+
"pr-branch-name": "update-wordpress-compatibility"
8+
}

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@ All notable changes to the Simple WP Optimizer plugin will be documented in this
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
### Added
10+
- Added standardized readme.txt file for WordPress.org repository
11+
- Implemented automated "Tested up to" WordPress version checker using skaut/wordpress-version-checker GitHub Action
12+
- Added full plugin header information including plugin URI and License URI
13+
- Created .wordpress-version-checker.json configuration for WordPress compatibility checking
14+
- Enabled automatic PR creation for WordPress compatibility updates with "automated" and "documentation" labels
15+
816
## [1.5.4] - 2025-05-04
917
### Changed
10-
- Updated plugin name to "EngineScript: Simple WP Optimizationn"
18+
- Updated plugin name to "EngineScript: Simple WP Optimization"
1119
- Improved code documentation and security notes
1220
- Aligned version numbers in plugin header and constant definition
1321

README.md

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

33
![GitHub License](https://img.shields.io/github/license/EngineScript/Simple-WP-Optimizer)
44
![WordPress Plugin Version](https://img.shields.io/badge/version-1.5.4-blue)
5-
![WordPress Plugin Required PHP Version](https://img.shields.io/badge/php-7.4--8.2-green)
6-
![WordPress Plugin: Tested WP Version](https://img.shields.io/badge/wordpress-5.6--6.0-green)
5+
![WordPress Plugin Required PHP Version](https://img.shields.io/badge/php-7.4--8.4-green)
6+
![WordPress Plugin: Tested WP Version](https://img.shields.io/badge/wordpress-5.0--6.4-green)
77

88
A lightweight WordPress plugin designed to optimize your website by removing unnecessary scripts, styles, and header elements that can slow down your site.
99

@@ -91,6 +91,18 @@ composer test:php8
9191

9292
The custom runner automatically detects your PHP version and applies the appropriate compatibility settings.
9393

94+
## Development & Maintenance
95+
96+
### Automated WordPress Compatibility
97+
98+
This repository uses the [WordPress Version Checker](https://github.com/skaut/wordpress-version-checker) GitHub Action to automatically monitor WordPress compatibility. When a new WordPress version is released, the action:
99+
100+
1. Creates a pull request to update the "Tested up to" version in readme.txt
101+
2. Adds "automated" and "documentation" labels to the PR
102+
3. Assigns repository maintainers for review
103+
104+
This ensures our plugin stays up-to-date with the latest WordPress versions without manual intervention.
105+
94106
## Contributing
95107

96108
Contributions are welcome! Please feel free to submit a Pull Request.

readme.txt

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
=== EngineScript: Simple WP Optimization ===
2+
Contributors: enginescript
3+
Tags: optimization, performance, cleanup
4+
Requires at least: 5.0
5+
Tested up to: 6.4
6+
Stable tag: 1.5.4
7+
Requires PHP: 7.4
8+
License: GPLv2 or later
9+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
10+
11+
Optimizes WordPress by removing unnecessary features and scripts to improve performance.
12+
13+
== Description ==
14+
15+
Simple WP Optimizer removes unnecessary WordPress features and scripts to optimize your site's performance.
16+
It helps reduce page load times and improves overall site speed by disabling unused functionality.
17+
18+
Key features:
19+
* Disable XML-RPC
20+
* Disable JSON REST API for non-logged users
21+
* Remove jQuery Migrate
22+
* Remove unnecessary header meta
23+
* Disable auto-embeds
24+
* Disable emoji support
25+
* Remove Gutenberg CSS
26+
27+
== Installation ==
28+
29+
1. Upload the plugin files to the `/wp-content/plugins/simple-wp-optimizer` directory.
30+
2. Activate the plugin through the 'Plugins' screen in WordPress.
31+
3. Use the Settings page to configure the optimization options.
32+
33+
== Frequently Asked Questions ==
34+
35+
= Will this plugin break my site? =
36+
37+
The optimizations are carefully selected to be safe for most sites. You can enable/disable specific optimizations as needed.
38+
39+
= Do I need technical knowledge to use this plugin? =
40+
41+
No, the plugin has a simple interface where you can toggle features on and off.
42+
43+
== Changelog ==
44+
45+
= 1.5.4 =
46+
* Security enhancements and code optimization
47+
48+
= 1.5.3 =
49+
* Added compatibility with WordPress 6.3
50+
* Fixed minor issues
51+
52+
= 1.5.2 =
53+
* Performance improvements
54+
* Bug fixes
55+
56+
== Upgrade Notice ==
57+
58+
= 1.5.4 =
59+
This update includes security enhancements and code optimization.

simple-wp-optimizer.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
<?php
22
/*
33
Plugin Name: EngineScript: Simple WP Optimization
4-
Description: Optimizes WordPress by removing unnecessary features and scripts
4+
Plugin URI: https://github.com/EngineScript/Simple-WP-Optimizer
5+
Description: Optimizes WordPress by removing unnecessary features and scripts to improve performance
56
Version: 1.5.4
67
Author: EngineScript
78
License: GPL v2 or later
9+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
810
Text Domain: simple-wp-optimizer-enginescript
11+
Requires at least: 5.0
12+
Requires PHP: 7.4
13+
Tested up to: 6.4
914
Security: Follows OWASP security guidelines and WordPress best practices
1015
*/
1116

0 commit comments

Comments
 (0)