Changeset 3424879
- Timestamp:
- 12/21/2025 06:42:34 PM (3 months ago)
- Location:
- wc-ship-est/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wse_functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-ship-est/trunk/readme.txt
r3417625 r3424879 6 6 Requires at least: 6.6 7 7 Tested up to: 6.9 8 Stable tag: 2.1. 68 Stable tag: 2.1.7 9 9 10 10 Add a Delivery Estimate or Shipping Method Description to the WooCommerce Cart with a simple, fast and lightweight plugin. … … 46 46 47 47 == Changelog == 48 = 2.1.7 = * Fix to unsupported email types. 48 49 = 2.1.6 = * Fix to null params in wse_add_email_ship_var 49 50 = 2.1.5 = * Google rating preview improvement, fix stripos null bug. -
wc-ship-est/trunk/wse_functions.php
r3417625 r3424879 7 7 Author URI: https://richardlerma.com/contact/ 8 8 Requires Plugins: woocommerce 9 Version: 2.1. 69 Version: 2.1.7 10 10 Text Domain: wc-ship-est 11 11 Copyright: (c) 2019-2025 rldd.net - All Rights Reserved … … 16 16 */ 17 17 18 global $wp_version,$wse_version,$wse_pro_version,$wse_version_type; $wse_version='2.1. 6';18 global $wp_version,$wse_version,$wse_pro_version,$wse_version_type; $wse_version='2.1.7'; 19 19 $wse_version_type='GPL'; 20 20 $wse_pro_version=get_option('wse_pro_version'); … … 1676 1676 1677 1677 function wse_add_email_ship_var($string,$email,$email_obj=null,$email_data=null){ 1678 if(empty($email)||!is_object($email->object))return $string; 1679 $order_id=$email->object->get_id(); 1678 if(empty($email)||!is_object($email)||empty($email->object)||!is_object($email->object)||!method_exists($email->object,'get_id'))return $string; 1679 $order_id=intval($email->object->get_id()); 1680 if($order_id<1)return $string; 1680 1681 $del_est=wse_load_est($order_id); 1682 if(empty($del_est))return $string; 1681 1683 return str_ireplace('{ship_est}',$del_est,$string); 1682 1684 }
Note: See TracChangeset
for help on using the changeset viewer.