Changeset 3469270
- Timestamp:
- 02/25/2026 09:51:39 AM (5 weeks ago)
- Location:
- woorewards/trunk
- Files:
-
- 7 edited
-
assets/lws-adminpanel/include/pages/field.php (modified) (1 diff)
-
assets/lws-adminpanel/include/tools/argparser.php (modified) (1 diff)
-
assets/lws-adminpanel/lws-adminpanel.php (modified) (2 diffs)
-
include/abstracts/unlockable.php (modified) (1 diff)
-
include/pointdiscount.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
woorewards.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woorewards/trunk/assets/lws-adminpanel/include/pages/field.php
r3458815 r3469270 171 171 return array_map([$this, 'sanitize_field'], $value); 172 172 } else { 173 return \sanitize_textarea_field($value);173 return $value; 174 174 } 175 175 } -
woorewards/trunk/assets/lws-adminpanel/include/tools/argparser.php
r3463447 r3469270 344 344 else if( $u == 'T' ) 345 345 $value = \sanitize_text_field($value); 346 else if( $u == 'H' ) 347 $value = \wp_kses_post($value); 346 348 else 347 349 $value = trim($value); -
woorewards/trunk/assets/lws-adminpanel/lws-adminpanel.php
r3463447 r3469270 6 6 * Author: Long Watch Studio 7 7 * Author URI: https://longwatchstudio.com 8 * Version: 5.7. 18 * Version: 5.7.2 9 9 * Text Domain: lws-adminpanel 10 10 * … … 56 56 57 57 add_filter('lws_adminpanel_versions', function($versions){ 58 $versions['5.7. 1'] = __FILE__;58 $versions['5.7.2'] = __FILE__; 59 59 return $versions; 60 60 }); -
woorewards/trunk/include/abstracts/unlockable.php
r3463447 r3469270 186 186 $prefix . 'cost' => '0', 187 187 $prefix . 'title' => 't', 188 $prefix . 'description' => ' t',188 $prefix . 'description' => 'h', 189 189 $prefix . 'date_start' => 's', 190 190 $prefix . 'date_end' => 's', -
woorewards/trunk/include/pointdiscount.php
r3463447 r3469270 212 212 return false; 213 213 214 $points = \min($points, $pool->getPoints($userId));214 $points = \min($points, \apply_filters('lws_woorewards_pointdiscount_available_points', $pool->getPoints($userId), $pool, $userId)); 215 215 if ($points <= 0) 216 216 return false; … … 375 375 { 376 376 $stack['needs'] = \array_sum(\array_column($stack['discounts'], 'points')); 377 $stack['max'] = $stack['ref']->getPoints($userId);377 $stack['max'] = \apply_filters('lws_woorewards_pointdiscount_available_points', $stack['ref']->getPoints($userId), $stack['ref'], $userId); 378 378 } 379 379 … … 628 628 629 629 $stackId = $pool->getStackId(); 630 $max = $pool->getPoints($userId);630 $max = \apply_filters('lws_woorewards_pointdiscount_available_points', $pool->getPoints($userId), $pool, $userId); 631 631 632 632 $points = \sanitize_text_field(isset($_REQUEST['amount']) ? \wp_unslash($_REQUEST['amount']) : 0); -
woorewards/trunk/readme.txt
r3463447 r3469270 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.3.0 7 Stable tag: 5.7. 17 Stable tag: 5.7.2 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 110 110 == Changelog == 111 111 112 = 5.7.2 = 113 * Feature - Reward description accept html 114 * Fix - Legacy cart page text inserts accept html 115 112 116 = 5.7.1 = 113 117 * Tag - WooCommerce 10.5 -
woorewards/trunk/woorewards.php
r3463447 r3469270 7 7 * Author: Long Watch Studio 8 8 * Author URI: https://longwatchstudio.com 9 * Version: 5.7. 19 * Version: 5.7.2 10 10 * License: GPLv2 or later 11 11 * Text Domain: woorewards-lite … … 110 110 private function defineConstants() 111 111 { 112 define('LWS_WOOREWARDS_VERSION', '5.7. 1');112 define('LWS_WOOREWARDS_VERSION', '5.7.2'); 113 113 define('LWS_WOOREWARDS_FILE', __FILE__); 114 114 define('LWS_WOOREWARDS_DOMAIN', 'woorewards-lite'); … … 148 148 public function addPluginVersion($url) 149 149 { 150 return '5.7. 1';150 return '5.7.2'; 151 151 } 152 152
Note: See TracChangeset
for help on using the changeset viewer.