Changeset 3487131
- Timestamp:
- 03/20/2026 10:50:49 AM (12 days ago)
- Location:
- woorewards/trunk
- Files:
-
- 5 edited
-
assets/lws-adminpanel/include/pages/screens/teaser.php (modified) (1 diff)
-
assets/lws-adminpanel/lws-adminpanel.php (modified) (2 diffs)
-
include/ui/woocommerce/pointsoncart.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
-
woorewards.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woorewards/trunk/assets/lws-adminpanel/include/pages/screens/teaser.php
r3463447 r3487131 54 54 } 55 55 56 echo wp_kses_post($transiant); 56 echo \wp_kses($transiant, \array_merge_recursive(\wp_kses_allowed_html('post'), [ 57 'style' => [ 58 'id' => true, 59 'type' => true, 60 'media' => true, 61 ], 62 ])); 57 63 58 64 echo '</div>'; -
woorewards/trunk/assets/lws-adminpanel/lws-adminpanel.php
r3478131 r3487131 6 6 * Author: Long Watch Studio 7 7 * Author URI: https://longwatchstudio.com 8 * Version: 5.7. 38 * Version: 5.7.4 9 9 * Text Domain: lws-adminpanel 10 10 * … … 56 56 57 57 add_filter('lws_adminpanel_versions', function($versions){ 58 $versions['5.7. 3'] = __FILE__;58 $versions['5.7.4'] = __FILE__; 59 59 return $versions; 60 60 }); -
woorewards/trunk/include/ui/woocommerce/pointsoncart.php
r3478131 r3487131 170 170 function registerScripts() 171 171 { 172 if (!\LWS\Adminpanel\Tools\Conveniences::isWC()) return; 173 172 174 $alias = array(); 173 175 $pools = \apply_filters('lws_woorewards_get_pools_by_args', false, array( … … 196 198 protected function enqueueScripts() 197 199 { 198 \wp_enqueue_script('lws_wr_pointsoncart'); 199 \wp_enqueue_style('lws_wr_pointsoncart_hard'); 200 \wp_enqueue_style('lws_wr_pointsoncart_custom'); 200 if (\LWS\Adminpanel\Tools\Conveniences::isWC()) { 201 \wp_enqueue_script('lws_wr_pointsoncart'); 202 \wp_enqueue_style('lws_wr_pointsoncart_hard'); 203 \wp_enqueue_style('lws_wr_pointsoncart_custom'); 204 } 201 205 } 202 206 … … 244 248 ) 245 249 ); 250 if (!\LWS\Adminpanel\Tools\Conveniences::isWC()) { 251 $fields['pointsoncart']['extra']['description'] .= '<br/><b>' . __("WooCommerce is required but cannot be found on the website!", 'woorewards-lite') . '</b>'; 252 } 246 253 $fields['pointsoncartheader'] = array( 247 254 'id' => 'lws_wooreward_points_cart_header', … … 704 711 if (!$this->stygen) 705 712 { 713 if (!\LWS\Adminpanel\Tools\Conveniences::isWC()) { 714 return ''; 715 } 706 716 if( !\WC()->cart || \WC()->cart->is_empty() ) 707 717 return ''; -
woorewards/trunk/readme.txt
r3478131 r3487131 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.3.0 7 Stable tag: 5.7.3 7 Stable tag: 5.7.3.1 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.3.1 = 113 * Tag - WooCommerce 10.6 114 112 115 = 5.7.3 = 113 116 * MyRewards Pro : -
woorewards/trunk/woorewards.php
r3478131 r3487131 7 7 * Author: Long Watch Studio 8 8 * Author URI: https://longwatchstudio.com 9 * Version: 5.7.3 9 * Version: 5.7.3.1 10 10 * License: GPLv2 or later 11 11 * Text Domain: woorewards-lite 12 12 * Domain Path: /languages 13 13 * WC requires at least: 7.3.0 14 * WC tested up to: 10. 514 * WC tested up to: 10.6 15 15 * 16 16 * … … 110 110 private function defineConstants() 111 111 { 112 define('LWS_WOOREWARDS_VERSION', '5.7.3 ');112 define('LWS_WOOREWARDS_VERSION', '5.7.3.1'); 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.3 ';150 return '5.7.3.1'; 151 151 } 152 152
Note: See TracChangeset
for help on using the changeset viewer.