Plugin Directory

Changeset 3487131


Ignore:
Timestamp:
03/20/2026 10:50:49 AM (12 days ago)
Author:
lwsdevelopers
Message:

Tag WC tested up to 10.6

Location:
woorewards/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • woorewards/trunk/assets/lws-adminpanel/include/pages/screens/teaser.php

    r3463447 r3487131  
    5454        }
    5555
    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        ]));
    5763
    5864        echo '</div>';
  • woorewards/trunk/assets/lws-adminpanel/lws-adminpanel.php

    r3478131 r3487131  
    66 * Author: Long Watch Studio
    77 * Author URI: https://longwatchstudio.com
    8  * Version: 5.7.3
     8 * Version: 5.7.4
    99 * Text Domain: lws-adminpanel
    1010 *
     
    5656
    5757add_filter('lws_adminpanel_versions', function($versions){
    58     $versions['5.7.3'] = __FILE__;
     58    $versions['5.7.4'] = __FILE__;
    5959    return $versions;
    6060});
  • woorewards/trunk/include/ui/woocommerce/pointsoncart.php

    r3478131 r3487131  
    170170    function registerScripts()
    171171    {
     172        if (!\LWS\Adminpanel\Tools\Conveniences::isWC()) return;
     173
    172174        $alias = array();
    173175        $pools = \apply_filters('lws_woorewards_get_pools_by_args', false, array(
     
    196198    protected function enqueueScripts()
    197199    {
    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        }
    201205    }
    202206
     
    244248            )
    245249        );
     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        }
    246253        $fields['pointsoncartheader'] = array(
    247254            'id' => 'lws_wooreward_points_cart_header',
     
    704711        if (!$this->stygen)
    705712        {
     713            if (!\LWS\Adminpanel\Tools\Conveniences::isWC()) {
     714                return '';
     715            }
    706716            if( !\WC()->cart || \WC()->cart->is_empty() )
    707717                return '';
  • woorewards/trunk/readme.txt

    r3478131 r3487131  
    55Tested up to: 6.9
    66Requires PHP: 7.3.0
    7 Stable tag: 5.7.3
     7Stable tag: 5.7.3.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    110110== Changelog ==
    111111
     112= 5.7.3.1 =
     113* Tag - WooCommerce 10.6
     114
    112115= 5.7.3 =
    113116* MyRewards Pro :
  • woorewards/trunk/woorewards.php

    r3478131 r3487131  
    77 * Author: Long Watch Studio
    88 * Author URI: https://longwatchstudio.com
    9  * Version: 5.7.3
     9 * Version: 5.7.3.1
    1010 * License: GPLv2 or later
    1111 * Text Domain: woorewards-lite
    1212 * Domain Path: /languages
    1313 * WC requires at least: 7.3.0
    14  * WC tested up to: 10.5
     14 * WC tested up to: 10.6
    1515 *
    1616 *
     
    110110    private function defineConstants()
    111111    {
    112         define('LWS_WOOREWARDS_VERSION', '5.7.3');
     112        define('LWS_WOOREWARDS_VERSION', '5.7.3.1');
    113113        define('LWS_WOOREWARDS_FILE', __FILE__);
    114114        define('LWS_WOOREWARDS_DOMAIN', 'woorewards-lite');
     
    148148    public function addPluginVersion($url)
    149149    {
    150         return '5.7.3';
     150        return '5.7.3.1';
    151151    }
    152152
Note: See TracChangeset for help on using the changeset viewer.