Changeset 2849906
- Timestamp:
- 01/17/2023 04:33:04 PM (3 years ago)
- Location:
- vendorfuel/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
includes/class-vendorfuel-enqueue.php (modified) (3 diffs)
-
vendorfuel.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
vendorfuel/trunk/README.txt
r2849883 r2849906 4 4 Requires at least: 4.7 5 5 Tested up to: 6.1 6 Stable tag: 8.10. 06 Stable tag: 8.10.1 7 7 Requires PHP: 7.4 8 8 License: GPLv3 or later … … 124 124 == Changelog == 125 125 126 = 8.10.1 = 127 * Fixed issue with asset enqueuing. 128 126 129 = 8.10.0 = 127 130 * Added ClearSale settings and resend option for admin orders. -
vendorfuel/trunk/includes/class-vendorfuel-enqueue.php
r2849883 r2849906 17 17 public function plugin() { 18 18 $admin_asset_file = include(plugin_dir_path(__DIR__) . 'build/legacy.asset.php'); 19 19 20 wp_enqueue_script( 20 21 'vendorfuel-admin', … … 92 93 */ 93 94 public function frontend() { 94 $file_path = plugin_dir_path(__DIR__) . 'vendorfuel.php';95 $plugin_data = get_file_data($file_path, array(96 'Version' => 'Version'97 ));98 $version = $plugin_data['Version'];99 100 95 $public_asset_file = include(plugin_dir_path(__DIR__) . 'build/public.asset.php'); 96 101 97 wp_enqueue_script( 102 98 'vendorfuel-public', 103 99 plugin_dir_url(__DIR__) . 'build/public.js', 104 100 $public_asset_file['dependencies'], 105 $ version,101 $public_asset_file['version'], 106 102 true 107 103 ); … … 111 107 plugin_dir_url(__DIR__) . 'build/public.css', 112 108 array(), 113 $ version,109 $public_asset_file['version'], 114 110 ); 115 111 -
vendorfuel/trunk/vendorfuel.php
r2849883 r2849906 5 5 * Plugin URI: https://vendorfuel.com/ 6 6 * Description: VendorFuel is a next-generation shopping cart that includes everything you need to start selling online. 7 * Version: 8.10. 07 * Version: 8.10.1 8 8 * Requires at least: 6.0 9 9 * Requires PHP: 7.4
Note: See TracChangeset
for help on using the changeset viewer.