-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadme.txt
More file actions
164 lines (132 loc) · 8.46 KB
/
readme.txt
File metadata and controls
164 lines (132 loc) · 8.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
=== Optimizations ACE MC ===
Contributors: EngineScript
Tags: optimization, performance, wp-optimizer, speed, seo
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.1
Stable tag: 1.0.8
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
A lightweight WordPress optimization plugin with pre-configured performance enhancements.
== Description ==
Optimizations ACE MC is a comprehensive WordPress optimization plugin that provides user-configurable performance enhancements for WooCommerce, WP Store Locator, and WordPress admin interfaces.
= Features =
**WooCommerce Optimizations:**
* Show empty product categories in archives (configurable)
* Hide category product count in product archives (configurable)
* Add user order count column to admin users table with sorting (configurable)
**WP Store Locator Optimizations:**
* Display store categories in store info windows (configurable)
* Disable REST API for store locator post type for enhanced security (configurable)
**WordPress Admin Optimizations:**
* Add user registration date column to admin users table with sorting (configurable)
**Settings Management:**
* Comprehensive admin settings page for all optimizations
* Individual enable/disable controls for each feature
* Plugin dependency status indicators
* User-friendly interface with clear descriptions
= Requirements =
* WordPress 6.6 or higher
* PHP 8.1 or higher
* WooCommerce 5.0+ (required — must be active)
* WP Store Locator (required — must be active)
== Installation ==
1. Upload the plugin files to the `/wp-content/plugins/optimizations-ace-mc` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Navigate to **Settings > Optimizations ACE MC** to configure which optimization features you want to enable.
4. Enable or disable individual optimizations based on your site's needs and available plugins.
== Frequently Asked Questions ==
= Do I need to configure anything? =
All features are disabled by default. Navigate to **Settings > Optimizations ACE MC** to enable the optimizations you need. Each feature can be individually enabled or disabled.
= What happens if I don't have WooCommerce or WP Store Locator installed? =
The plugin will detect which plugins are available and only show relevant optimization options. Features for missing plugins will be clearly marked as inactive and won't affect your site.
= Will this plugin slow down my site? =
No, this plugin is designed to improve performance by adding useful admin enhancements and optimizations. All features are optional and can be disabled if not needed.
= Is this plugin compatible with other optimization plugins? =
Yes, this plugin focuses on specific admin and functionality enhancements rather than general optimization, so it should work alongside other optimization plugins.
== Changelog ==
= Unreleased =
* Changed: Updated WordPress compatibility workflow matrix to test PHP 8.1-8.5 only
* Changed: Removed PHP 7.4 and 8.0 workflow matrix jobs (below minimum supported PHP version)
* Changed: Raised minimum PHP version from 7.4 to 8.1
* Changed: Added typed properties, parameter types, and return types to all class members (PHP 8.1+)
* Changed: Extracted inline admin CSS to enqueued assets/css/admin.css stylesheet
* Changed: Made store category label filterable via apply_filters( 'optimizations_ace_mc_store_category_label' )
* Changed: Cached date_format option to avoid per-row database lookups
* Changed: Simplified store categories meta logic — removed separate single/multi-term branches
* Removed: display_dependencies_info() method and inline dependency checks (plugins guaranteed active)
* Removed: output_admin_styles() method — replaced by external CSS file
* Removed: Unused OPTIMIZATIONS_ACE_MC_PLUGIN_BASENAME constant
* Fixed: Added @since tags to all methods missing them
* Fixed: Updated PHP version requirement text from "7.4+" to "8.1+" in plugin info display
* Fixed: Improved phpcs:ignore comment for settings-updated nonce verification
* Fixed: labeler.yml referencing nonexistent paths
= 1.0.8 - 2026-02-28 =
* Security: Hardened singleton pattern with private constructor and clone/wakeup prevention
* Security: Fixed missing input sanitization in settings update notification check
* Security: Added function_exists() guard for wc_get_customer_order_count() to prevent fatal errors
* Fixed: Replaced incorrect sanitize_text_field() with proper esc_html() for store category output
* Fixed: Removed broken order count column sorting that had no query handler
* Fixed: Removed redundant capability checks in column render callbacks
* Fixed: Scoped admin CSS classes to prevent collisions with WordPress core and other plugins
* Fixed: FAQ now accurately states all features are disabled by default
= 1.0.7 - 2025-09-15 =
* Added: AI-powered code analysis workflow using Google Gemini for automated security scanning
* Added: Comprehensive WordPress coding standards compliance checking in CI/CD
* Added: Performance analysis for database queries and resource optimization
* Added: Pull request and push event analysis with detailed security feedback
* Enhanced: Dynamic workflow handling for both PR and push events with unified output
* Enhanced: Real-time code diff analysis with focus on security implications
* Security: Environment variable protection against command injection vulnerabilities
* Security: Secure API key management through GitHub repository secrets
* Fixed: Resolved 404 errors when posting PR comments on push events
* Fixed: JavaScript syntax errors and YAML parsing issues in workflow scripts
* Fixed: Improved workflow reliability and comprehensive error handling
= 1.0.6 - 2025-08-22 =
* Added: Comprehensive admin settings page for managing all plugin optimizations
* Added: User-configurable options for WooCommerce, WP Store Locator, and WordPress admin features
* Added: Individual enable/disable controls for each optimization feature
* Added: Plugin dependency status indicators with visual feedback
* Security: Fixed improper nonce verification in settings page form submission
* Security: Enhanced CSRF protection using proper WordPress Settings API handling
* Changed: All optimization features are now optional and user-configurable
* Changed: Features load conditionally based on user settings
* Fixed: Array alignment issues to meet WordPress coding standards
* Fixed: Removed unused variables and refactored long methods for better code quality
* Fixed: Converted entire codebase to WordPress-standard tab indentation
* Fixed: Updated PHPCS configuration to properly allow tabs for indentation per WordPress standards
= 1.0.5 - 2025-08-11 =
* Security: Fixed critical code injection vulnerabilities in GitHub Actions workflows
* Security: Implemented secure environment variable usage pattern for AI workflows
* Added: Comprehensive AI-powered workflow suite with Gemini integration
* Added: Automated code review and security scanning with AI assistance
* Added: Interactive Gemini assistant for code help and issue management
* Fixed: YAML corruption issues and duplicate environment variable definitions
= 1.0.4 - 2025-08-02 =
* Removed: All fallback methods and plugin availability checks for single-site deployment
* Removed: WooCommerce and WP Store Locator activation checks since plugins are guaranteed to be active
* Simplified: Direct function calls without existence validation for better performance
* Optimized: Code structure for dedicated single-site environment
= 1.0.3 - 2025-07-25 =
* Fixed: Code standards compliance - string concatenation issues
* Fixed: Variable alignment to follow WordPress coding standards
* Fixed: Line ending characters from CRLF to LF for consistency
* Fixed: PHPStan errors by updating function return types and class references
* Changed: Moved main class to proper WordPress naming convention file structure
* Added: Enhanced PHPStan configuration and development tools
= 1.0.2 - 2025-07-16 =
* Enhanced WordPress compatibility testing
* Improved automated code quality checks
* Added comprehensive CI/CD workflow
* Updated documentation and security guidelines
= 1.0.1 =
* Fixed PHPStan compatibility issues with WP Store Locator functions
* Improved PHPMD configuration for WordPress coding standards
* Enhanced error handling for missing plugin dependencies
* Updated singleton pattern to avoid static analysis warnings
* Fixed WP_Term property access validation
= 1.0.0 =
* Initial release
* Core optimization functions
* WordPress performance enhancements
* Language support