Changeset 3436785
- Timestamp:
- 01/10/2026 06:34:25 PM (6 weeks ago)
- Location:
- wc-ship-est/tags/2.1.11
- Files:
-
- 3 copied
-
. (copied) (copied from wc-ship-est/trunk)
-
readme.txt (copied) (copied from wc-ship-est/trunk/readme.txt) (2 diffs)
-
wse_functions.php (copied) (copied from wc-ship-est/trunk/wse_functions.php) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-ship-est/tags/2.1.11/readme.txt
r3434828 r3436785 6 6 Requires at least: 6.6 7 7 Tested up to: 6.9 8 Stable tag: 2.1. 98 Stable tag: 2.1.11 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.11 = * Allow limited html in method desc for product page 48 49 = 2.1.9 = * Minor bug fixes to shipping method name retrieval 49 50 = 2.1.8 = * Minor bug fixes to variation level estimates. -
wc-ship-est/tags/2.1.11/wse_functions.php
r3434828 r3436785 7 7 Author URI: https://richardlerma.com/contact/ 8 8 Requires Plugins: woocommerce 9 Version: 2.1. 99 Version: 2.1.11 10 10 Text Domain: wc-ship-est 11 Copyright: (c) 2019-202 5rldd.net - All Rights Reserved11 Copyright: (c) 2019-2026 rldd.net - All Rights Reserved 12 12 License: GPLv3 or later 13 13 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 16 16 */ 17 17 18 global $wp_version,$wse_version,$wse_pro_version,$wse_version_type; $wse_version='2.1. 9';18 global $wp_version,$wse_version,$wse_pro_version,$wse_version_type; $wse_version='2.1.11'; 19 19 $wse_version_type='GPL'; 20 20 $wse_pro_version=get_option('wse_pro_version'); … … 172 172 173 173 $prd_dsp=array_map('sanitize_text_field',$_POST['wse_prd_dsp']); update_option('wse_prd_dsp',$prd_dsp); 174 $prd_desc=array_map('sanitize_text_field',$_POST['wse_prd_desc']); update_option('wse_prd_desc',$prd_desc); 174 $desc_allow=['desc'=>[],'strong'=>[],'em'=>[],'b'=>[],'i'=>[],'br'=>[]]; 175 $prd_desc=array_map(function($s)use($desc_allow){return wp_kses($s,$desc_allow);},$_POST['wse_prd_desc']); update_option('wse_prd_desc',$prd_desc); 175 176 176 177 $prds_dsp=array_map('sanitize_text_field',$_POST['wse_prds_dsp']); update_option('wse_prds_dsp',$prds_dsp); … … 592 593 593 594 <div style='background:#EEE;<?php if(empty($prd_dsp[$i])|| !function_exists('wse_itm_est')) echo "display:none;";?>'> 594 <input type='text' name='wse_prd_desc[]' placeholder='Description' value="<?php if(isset($prd_desc[$i])) echo $prd_desc[$i]; ?>"> Displayed before estimate on product page, e.g. <i>Get it by</i> or <i>Order now for delivery by</i> or <i>Free delivery in</i><br>595 <input type='text' name='wse_prd_desc[]' placeholder='Description' value="<?php if(isset($prd_desc[$i])) echo esc_attr($prd_desc[$i]); ?>"> Displayed before estimate on product page, e.g. <i>Get it by</i> or <i>Order now for delivery by</i> or <i>Free delivery in</i><br> 595 596 596 597 <div class='user_prds' id='user_prds_dsp<?php echo $i;?>'></div>
Note: See TracChangeset
for help on using the changeset viewer.