Skip to content

Commit 9472f55

Browse files
authored
Release
1 parent 62d0e94 commit 9472f55

File tree

4 files changed

+33
-4
lines changed

4 files changed

+33
-4
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55

66
## [Unreleased]
77

8+
## [1.7.0] - 2025-01-27
9+
10+
### Changed
11+
- **Major Plugin Architecture Refactor**: Completely restructured plugin initialization to use WordPress `plugins_loaded` hook
12+
- Improved plugin load order by removing immediate global scope execution
13+
- Consolidated plugin initialization into proper WordPress lifecycle management
14+
- Moved all `add_action` and `add_filter` calls into structured initialization functions
15+
- Enhanced plugin activation, deactivation, and uninstall lifecycle management
16+
17+
### Removed
18+
- Removed unused `es_optimizer_enqueue_admin_scripts()` function (dead code removal)
19+
- Cleaned up scattered global scope function calls
20+
21+
### Fixed
22+
- Fixed inline comment punctuation to comply with WordPress coding standards
23+
- Improved code organization and readability
24+
- Enhanced plugin stability and compatibility with other WordPress plugins
25+
826
## [1.6.0] - 2025-08-10
927
### Added
1028
- **Performance Optimization**: Implemented conditional admin asset loading - admin scripts and styles now only load on the plugin settings page

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![PHP Compatible](https://img.shields.io/badge/PHP-7.4%2B-purple.svg?logo=php)](https://www.php.net/)
77

88
## Current Version
9-
[![Version](https://img.shields.io/badge/Version-1.6.0-orange.svg?logo=github)](https://github.com/EngineScript/simple-wp-optimizer/releases/download/v1.6.0/simple-wp-optimizer-1.6.0.zip)
9+
[![Version](https://img.shields.io/badge/Version-1.7.0-orange.svg?logo=github)](https://github.com/EngineScript/simple-wp-optimizer/releases/download/v1.7.0/simple-wp-optimizer-1.7.0.zip)
1010

1111
## Description
1212

readme.txt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: enginescript
33
Tags: optimization, performance, cleanup
44
Requires at least: 6.5
55
Tested up to: 6.8
6-
Stable tag: 1.6.0
6+
Stable tag: 1.7.0
77
Requires PHP: 7.4
88
License: GPLv3 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -43,6 +43,17 @@ No, the plugin has a simple interface where you can toggle features on and off.
4343

4444
== Changelog ==
4545

46+
= 1.7.0 =
47+
* **ARCHITECTURE**: Major plugin architecture refactor - completely restructured initialization to use WordPress `plugins_loaded` hook
48+
* **ARCHITECTURE**: Improved plugin load order by removing immediate global scope execution
49+
* **ARCHITECTURE**: Consolidated plugin initialization into proper WordPress lifecycle management
50+
* **ARCHITECTURE**: Enhanced plugin activation, deactivation, and uninstall lifecycle management
51+
* **SECURITY**: Fixed curl command in AI workflows to properly handle secrets via environment variables
52+
* **SECURITY**: Enhanced security in GitHub Actions workflows to prevent credential exposure
53+
* **CODE QUALITY**: Removed unused `es_optimizer_enqueue_admin_scripts()` function (dead code removal)
54+
* **CODE QUALITY**: Fixed inline comment punctuation to comply with WordPress coding standards
55+
* **STABILITY**: Enhanced plugin stability and compatibility with other WordPress plugins
56+
4657
= 1.6.0 =
4758
* **PERFORMANCE**: Implemented conditional admin asset loading - admin scripts and styles now only load on plugin settings page
4859
* **PERFORMANCE**: Added option caching system with `es_optimizer_get_options()` function to reduce database queries

simple-wp-optimizer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Simple WP Optimizer
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.6.0
6+
* Version: 1.7.0
77
* Author: EngineScript
88
* License: GPL-3.0-or-later
99
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -53,7 +53,7 @@
5353

5454
// Define plugin version.
5555
if ( ! defined( 'ES_WP_OPTIMIZER_VERSION' ) ) {
56-
define( 'ES_WP_OPTIMIZER_VERSION', '1.6.0' );
56+
define( 'ES_WP_OPTIMIZER_VERSION', '1.7.0' );
5757
}
5858

5959
/**

0 commit comments

Comments
 (0)