Releases: EngineScript/optimizations-ace-mc
Releases · EngineScript/optimizations-ace-mc
Release v1.5.0
Changed
-
CI/CD:
- Updated the WordPress compatibility workflow matrix to test PHP 8.2 through 8.5 only
- Removed matrix jobs below the plugin minimum PHP requirement
-
PHP 8.2+ and WordPress 6.8+ Modernization:
- Raised the minimum PHP version to 8.2 and the minimum WordPress version to 6.8 across plugin metadata, docs, and tooling
- Added typed properties (
?self,array,readonly array,string) to all class properties - Added parameter type declarations and return type declarations to all methods
- Replaced
isset()ternary patterns with null coalescing operator - Used
readonlymodifier for immutable$default_settingsproperty - Simplified
sanitize_settings()with concise boolean casting
-
Performance:
- Cached
get_option( 'date_format' )result in$date_formatproperty to avoid per-row database lookups - Extracted inline admin CSS to enqueued
assets/css/admin.cssstylesheet, loaded only on plugin settings page - Removed
output_admin_styles()method and inline<style>block
- Cached
-
Architecture:
- Split the plugin from one large PHP class into focused classes under
includes/ - Updated release and compatibility workflows to package and test the
includes/layout - Made store category label filterable via
apply_filters( 'optimizations_ace_mc_store_category_label' ) - Simplified
add_store_categories_to_meta()by removing separate single-term and multi-term branches - Captured
add_submenu_page()return value in$settings_page_hookproperty for targeted asset loading - Removed unused
OPTIMIZATIONS_ACE_MC_PLUGIN_BASENAMEconstant - Replaced manual settings-updated notice handling with WordPress
settings_errors() - Replaced manual registration date timestamp formatting with WordPress
get_date_from_gmt()
- Split the plugin from one large PHP class into focused classes under
Removed
- Removed
display_dependencies_info()method; WooCommerce and WP Store Locator are guaranteed active - Removed
function_exists( 'wc_get_customer_order_count' )guard; WooCommerce is guaranteed active - Removed
class_exists()/function_exists()dependency checks in display methods
Fixed
- Added
@sincetags to all methods missing them - Updated settings description for store categories to be generic (removed hard-coded "Certifications" mention)
- Updated PHP version text to "8.2+ required" in plugin info display
- Fixed
.github/labeler.ymlreferences to nonexistent paths (templates/**/*,docs/**/*,.travis.yml)
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.0.8
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.0.7
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.0.6
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.0.5
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.0.4
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.0.3
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin
Release v1.0.2
Installation
- Download the zip file
- Upload to your WordPress site through the Plugins > Add New > Upload menu
- Activate the plugin