Plugin Directory

Changeset 3440657


Ignore:
Timestamp:
01/15/2026 10:39:34 PM (8 weeks ago)
Author:
patternsinthecloud
Message:

version 2.10.5.3

Location:
autoship-cloud/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • autoship-cloud/trunk/autoship.php

    r3410169 r3440657  
    88 * Plugin URI: https://autoship.cloud
    99 * Description: Autoship Cloud for WooCommerce
    10  * Version: 2.10.5.2
     10 * Version: 2.10.5.3
    1111 * Author: Patterns In the Cloud LLC
    1212 * Author URI: https://qpilot.cloud
     
    1414 * Domain Path: /languages
    1515 * WC requires at least: 3.4.1
    16  * WC tested up to: 10.3.5
    17  */
    18 
    19 define( 'Autoship_Version', '2.10.5.2' ); // phpcs:ignore Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase
     16 * WC tested up to: 10.4.3
     17 */
     18
     19define( 'Autoship_Version', '2.10.5.3' ); // phpcs:ignore Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase
    2020
    2121if ( ! defined( 'Autoship_Plugin_Dir' ) ) {
  • autoship-cloud/trunk/readme.txt

    r3410169 r3440657  
    88Tested up to: 6.9
    99WC requires at least: 3.4.1
    10 WC tested up to: 10.3.5
     10WC tested up to: 10.4.3
    1111Requires PHP: 7.4
    12 Stable tag: 2.10.5.2
     12Stable tag: 2.10.5.3
    1313License: GPLv2 or later
    1414License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    291291
    292292== Changelog ==
     293
     294= 2.10.5.3 - 2026-01-15 =
     295
     296  - Fixed: Resolved a critical error on product pages when viewing variable products with variations that have missing or empty regular prices.
    293297
    294298= 2.10.5.2 - 2025-12-03 =
  • autoship-cloud/trunk/src/products.php

    r3362678 r3440657  
    991991
    992992    if ( empty( $prices['discount'] ) ) {
     993        return 0;
     994    }
     995
     996    // Added guard condition to prevent division by zero (PHP 8+ throws DivisionByZeroError).
     997    if ( empty( $prices['price'] ) || floatval( $prices['price'] ) == 0 ) { // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual
    993998        return 0;
    994999    }
Note: See TracChangeset for help on using the changeset viewer.