Plugin Directory

Changeset 2881673


Ignore:
Timestamp:
03/17/2023 02:34:42 AM (3 years ago)
Author:
jtexpress
Message:

update version

Location:
jt-express/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • jt-express/trunk/admin/class-jnt-admin.php

    r2881668 r2881673  
    2525    {
    2626        $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';
    3030
    3131        if (version_compare($current_version, $latest_version, '<')) {
  • jt-express/trunk/jnt.php

    r2881660 r2881673  
    55Description: WooCommerce integration for J&T Express Malaysia.
    66Author: woocs
    7 Version: 2.0.1
     7Version: 2.0.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
     
    1414}
    1515
    16 define('JNT_VERSION', '2.0.1');
     16define('JNT_VERSION', '2.0.2');
    1717define('JNT_PLUGIN_DIR', plugin_dir_path(__FILE__));
    1818
Note: See TracChangeset for help on using the changeset viewer.