Changeset 3790891 for ultimate-store-kit/trunk/includes/modules-manager.php
- Timestamp:
- 11/08/2026 11:10:57 AM (79 minutes ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ultimate-store-kit/trunk/includes/modules-manager.php
r3504294 r3790891 54 54 55 55 56 $direction = is_rtl() ? '.rtl' : ''; 56 // Widget stylesheets are built as <module>-rtl.css. 57 $direction = is_rtl() ? '-rtl' : ''; 57 58 58 59 … … 66 67 // register widgets css 67 68 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); 69 70 } 70 71 // register widget JS 71 72 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); 73 74 } 74 75 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)