Skip to content

Releases: EngineScript/optimizations-ace-mc

Release v1.5.0

18 May 08:49

Choose a tag to compare

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 readonly modifier for immutable $default_settings property
    • Simplified sanitize_settings() with concise boolean casting
  • Performance:

    • Cached get_option( 'date_format' ) result in $date_format property to avoid per-row database lookups
    • Extracted inline admin CSS to enqueued assets/css/admin.css stylesheet, loaded only on plugin settings page
    • Removed output_admin_styles() method and inline <style> block
  • 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_hook property for targeted asset loading
    • Removed unused OPTIMIZATIONS_ACE_MC_PLUGIN_BASENAME constant
    • Replaced manual settings-updated notice handling with WordPress settings_errors()
    • Replaced manual registration date timestamp formatting with WordPress get_date_from_gmt()

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 @since tags 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.yml references to nonexistent paths (templates/**/*, docs/**/*, .travis.yml)

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.0.8

28 Feb 22:49
9d8c37a

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.0.7

22 Sep 22:25
d513602

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.0.6

22 Aug 22:23
9dc54ec

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.0.5

12 Aug 00:43
640dfe9

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.0.4

02 Aug 21:33
d01cad7

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.0.3

25 Jul 22:35
34c991e

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation

Release v1.0.2

25 Jul 21:32
40b92dc

Choose a tag to compare

Installation

  1. Download the zip file
  2. Upload to your WordPress site through the Plugins > Add New > Upload menu
  3. Activate the plugin

Full Documentation