Plugin Directory


Ignore:
Timestamp:
11/08/2026 11:10:57 AM (79 minutes ago)
Author:
mohammaadfarid
Message:

Update to version 4.1.0 from GitHub

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ultimate-store-kit/trunk/includes/modules-manager.php

    r3504294 r3790891  
    5454
    5555
    56         $direction = is_rtl() ? '.rtl' : '';
     56        // Widget stylesheets are built as <module>-rtl.css.
     57        $direction = is_rtl() ? '-rtl' : '';
    5758
    5859
    … …  
    6667            // register widgets css
    6768            if (ModuleService::has_module_style($module_id)) {
    68                 wp_register_style('usk-' . $module_id, BDTUSK_URL . 'assets/css/widgets/' . $module_id . $direction . '.css', [], BDTUSK_VER);
     69                wp_register_style('usk-' . $module_id, BDTUSK_URL . 'assets/css/widgets/' . $module_id . $direction . '.css', ultimate_store_kit_module_asset_depends('css', $module_id), BDTUSK_VER);
    6970            }
    7071            // register widget JS
    7172            if (ModuleService::has_module_script($module_id)) {
    72                 wp_register_script('usk-' . $module_id, BDTUSK_URL . 'assets/js/widgets/' . $module_id . '.js', ['jquery'], BDTUSK_VER, true);
     73                wp_register_script('usk-' . $module_id, BDTUSK_URL . 'assets/js/widgets/' . $module_id . '.js', ultimate_store_kit_module_asset_depends('js', $module_id), BDTUSK_VER, true);
    7374            }
    7475        }
Note: See TracChangeset for help on using the changeset viewer.