Changeset 2881673
- Timestamp:
- 03/17/2023 02:34:42 AM (3 years ago)
- Location:
- jt-express/trunk
- Files:
-
- 2 edited
-
admin/class-jnt-admin.php (modified) (1 diff)
-
jnt.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jt-express/trunk/admin/class-jnt-admin.php
r2881668 r2881673 25 25 { 26 26 $plugin_slug = 'jt-express/jnt.php'; 27 $plugin _data = get_plugin_data(JNT_PLUGIN_DIR . '/' . $plugin_slug);28 $current_version = $plugin _data['Version'];29 $latest_version = '2.0. 0';27 $plugins = get_plugins(); 28 $current_version = $plugins[$plugin_slug]['Version']; 29 $latest_version = '2.0.2'; 30 30 31 31 if (version_compare($current_version, $latest_version, '<')) { -
jt-express/trunk/jnt.php
r2881660 r2881673 5 5 Description: WooCommerce integration for J&T Express Malaysia. 6 6 Author: woocs 7 Version: 2.0. 17 Version: 2.0.2 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt … … 14 14 } 15 15 16 define('JNT_VERSION', '2.0. 1');16 define('JNT_VERSION', '2.0.2'); 17 17 define('JNT_PLUGIN_DIR', plugin_dir_path(__FILE__)); 18 18
Note: See TracChangeset
for help on using the changeset viewer.