Skip to content

Commit a08d12d

Browse files
authored
Release
1 parent a64ed8e commit a08d12d

File tree

3 files changed

+81
-6
lines changed

3 files changed

+81
-6
lines changed

CHANGELOG.md

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,49 @@ 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

66
## [Unreleased]
7+
8+
## [1.5.6] - 2025-05-31
79
### Added
8-
- Enhanced GitHub Actions workflows for plugin testing
10+
- Enhanced GitHub Actions workflows for comprehensive plugin testing and security analysis
11+
- PHPStan WordPress static analysis with proper WordPress stubs configuration
12+
- WordPress Vulnerability Scanner integration for security testing
13+
- Comprehensive WordPress security scanning using pattern analysis
14+
- Composer support with WordPress stubs for better development experience
15+
- PHPStan WordPress extension (szepeviktor/phpstan-wordpress) for enhanced analysis
16+
- Comprehensive security implementation documentation following OWASP guidelines
17+
- Detailed security implementation notes in plugin header
18+
- Enhanced input validation with strict type checking for all user inputs
19+
- Improved output escaping with context-appropriate WordPress functions (esc_html, esc_attr, esc_url, esc_textarea)
20+
- Proper capability checks for all admin functions using current_user_can('manage_options')
21+
- Secure coding patterns throughout the plugin codebase
22+
- Multi-layer domain validation for DNS prefetch functionality
23+
- Comprehensive code documentation with security explanations
24+
25+
### Fixed
26+
- Fixed register_setting() function to use proper array parameters instead of string callback
27+
- Corrected remove_action() function calls to use proper parameter count (removed invalid 4th parameter)
28+
- Replaced non-existent wp_print_link_tag() function with proper HTML output using esc_url()
29+
- Fixed "unreachable statement" in disable_emojis_tinymce() function by restructuring logic
30+
- Resolved all PHPStan static analysis errors at level 5
31+
- Fixed WordPress Plugin Check compatibility issues
32+
- Fixed potential security vulnerabilities with proper WordPress best practices
33+
34+
### Enhanced
35+
- Updated plugin to pass PHPStan level 5 analysis with zero errors
36+
- Improved workflow reliability by removing problematic external dependencies
37+
- Enhanced security scanning with WordPress-specific vulnerability patterns
38+
- Better WordPress API compliance and coding standards
39+
- Improved code quality and maintainability
40+
- Security headers and implementation comments for better code understanding
41+
- DNS prefetch domain validation with enhanced security measures
42+
- Settings validation and sanitization functions
43+
- Code structure and organization for better maintainability
44+
- Direct script access prevention with proper WordPress checks
45+
46+
### Security
47+
- Enhanced all user input validation and output escaping
48+
- Added security-focused code comments explaining safety measures
49+
- Implemented OWASP-compliant security patterns throughout the codebase
950

1051
## [1.5.5] - 2025-05-21
1152
### Added

readme.txt

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
=== EngineScript: Simple WP Optimization ===
22
Contributors: enginescript
33
Tags: optimization, performance, cleanup
4-
Requires at least: 5.0
4+
Requires at least: 6.0
55
Tested up to: 6.8
6-
Stable tag: 1.5.5
6+
Stable tag: 1.5.6
77
Requires PHP: 7.4
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -42,6 +42,34 @@ No, the plugin has a simple interface where you can toggle features on and off.
4242

4343
== Changelog ==
4444

45+
= 1.5.6 =
46+
* Enhanced GitHub Actions workflows for comprehensive plugin testing and security analysis
47+
* Added PHPStan WordPress static analysis with proper WordPress stubs configuration
48+
* Integrated WordPress Vulnerability Scanner and comprehensive security scanning
49+
* Fixed PHPStan static analysis errors: register_setting(), remove_action(), wp_print_link_tag() replacement, disable_emojis_tinymce() logic
50+
* Enhanced security implementation with comprehensive OWASP-compliant documentation
51+
* Added detailed security implementation notes following WordPress best practices
52+
* Improved input validation with strict type checking for all user inputs
53+
* Enhanced output escaping with context-appropriate WordPress functions (esc_html, esc_attr, esc_url, esc_textarea)
54+
* Added proper capability checks for all admin functions using current_user_can('manage_options')
55+
* Implemented secure coding patterns and multi-layer domain validation for DNS prefetch
56+
* Added comprehensive code documentation with security explanations and best practices
57+
* Fixed potential security vulnerabilities with proper WordPress coding standards
58+
* Improved code structure and organization for better maintainability
59+
* Enhanced development workflow with reliable testing and WordPress stubs support
60+
61+
= 1.5.5 =
62+
* Enhanced code quality with comprehensive static analysis fixes
63+
* Fixed register_setting function to use proper array parameters instead of string callback
64+
* Corrected remove_action function calls to use proper parameter count (2-3 parameters)
65+
* Replaced non-existent wp_print_link_tag function with proper HTML output using esc_url()
66+
* Improved disable_emojis_tinymce function logic to eliminate unreachable code
67+
* Added comprehensive PHPStan WordPress static analysis with proper WordPress stubs
68+
* Enhanced security scanning with WordPress-specific vulnerability patterns
69+
* Improved workflow reliability by removing problematic external dependencies
70+
* Added Composer support with WordPress stubs for better development experience
71+
* Updated code to pass PHPStan level 5 analysis with zero errors
72+
4573
= 1.5.5 =
4674
* Added compatibility with WordPress 6.8
4775
* Fixed text domain to comply with WordPress.org standards (changed from 'simple-wp-optimizer-enginescript' to 'Simple-WP-Optimizer')
@@ -65,6 +93,12 @@ No, the plugin has a simple interface where you can toggle features on and off.
6593

6694
== Upgrade Notice ==
6795

96+
= 1.5.6 =
97+
Major security enhancement update with comprehensive OWASP-compliant security implementation and enhanced GitHub Actions workflows. This update includes detailed security documentation, enhanced input validation, improved output escaping, secure coding patterns, and comprehensive static analysis fixes. Recommended for all users to ensure optimal security posture and code quality.
98+
99+
= 1.5.5 =
100+
This update includes significant code quality improvements with comprehensive static analysis fixes and enhanced security scanning. The plugin now passes PHPStan level 5 analysis with zero errors and includes improved WordPress API compliance. Enhanced development workflow with proper WordPress stubs and more reliable testing.
101+
68102
= 1.5.5 =
69103
This update adds compatibility with WordPress 6.8 and fixes text domain issues for better internationalization. The plugin now fully complies with WordPress.org plugin directory standards and passes all WordPress Plugin Check tests.
70104

simple-wp-optimizer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
Plugin Name: EngineScript: Simple WP Optimization
44
Plugin URI: https://github.com/EngineScript/Simple-WP-Optimizer
55
Description: Optimizes WordPress by removing unnecessary features and scripts to improve performance
6-
Version: 1.5.5
6+
Version: 1.5.6
77
Author: EngineScript
88
License: GPL v2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010
Text Domain: Simple-WP-Optimizer
11-
Requires at least: 5.0
11+
Requires at least: 6.0
1212
Requires PHP: 7.4
1313
Tested up to: 6.8
1414
Security: Follows OWASP security guidelines and WordPress best practices
@@ -51,7 +51,7 @@
5151

5252
// Define plugin version
5353
if (!defined('ES_WP_OPTIMIZER_VERSION')) {
54-
define('ES_WP_OPTIMIZER_VERSION', '1.5.5');
54+
define('ES_WP_OPTIMIZER_VERSION', '1.5.6');
5555
}
5656

5757
/**

0 commit comments

Comments
 (0)