Changeset 3440657
- Timestamp:
- 01/15/2026 10:39:34 PM (8 weeks ago)
- Location:
- autoship-cloud/trunk
- Files:
-
- 3 edited
-
autoship.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
src/products.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
autoship-cloud/trunk/autoship.php
r3410169 r3440657 8 8 * Plugin URI: https://autoship.cloud 9 9 * Description: Autoship Cloud for WooCommerce 10 * Version: 2.10.5. 210 * Version: 2.10.5.3 11 11 * Author: Patterns In the Cloud LLC 12 12 * Author URI: https://qpilot.cloud … … 14 14 * Domain Path: /languages 15 15 * WC requires at least: 3.4.1 16 * WC tested up to: 10. 3.517 */ 18 19 define( 'Autoship_Version', '2.10.5. 2' ); // phpcs:ignore Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase16 * WC tested up to: 10.4.3 17 */ 18 19 define( 'Autoship_Version', '2.10.5.3' ); // phpcs:ignore Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase 20 20 21 21 if ( ! defined( 'Autoship_Plugin_Dir' ) ) { -
autoship-cloud/trunk/readme.txt
r3410169 r3440657 8 8 Tested up to: 6.9 9 9 WC requires at least: 3.4.1 10 WC tested up to: 10. 3.510 WC tested up to: 10.4.3 11 11 Requires PHP: 7.4 12 Stable tag: 2.10.5. 212 Stable tag: 2.10.5.3 13 13 License: GPLv2 or later 14 14 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 291 291 292 292 == 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. 293 297 294 298 = 2.10.5.2 - 2025-12-03 = -
autoship-cloud/trunk/src/products.php
r3362678 r3440657 991 991 992 992 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 993 998 return 0; 994 999 }
Note: See TracChangeset
for help on using the changeset viewer.