Plugin Directory

Changeset 3335424


Ignore:
Timestamp:
07/28/2025 02:26:55 PM (8 months ago)
Author:
tanvirh
Message:

fix dependency with addons

Location:
dokan-kits/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • dokan-kits/trunk/dokan-kits.php

    r3335399 r3335424  
    1212 * Plugin URI:      https://wordpress.org/plugins/dokan-kits
    1313 * Description:     The Helper Toolkits plugin for Dokan is a feature-packed add-on designed to streamline and enhance the functionality of your Dokan-powered multi-vendor marketplace.
    14  * Version:         3.0.4
     14 * Version:         3.0.5
    1515 * Author:          WPIntegrity
    1616 * Author URI:      https://wpintegrity.com/
     
    3636
    3737// Define plugin constants.
    38 define( 'DOKAN_KITS_VERSION', '3.0.4' );
     38define( 'DOKAN_KITS_VERSION', '3.0.5' );
    3939define( 'DOKAN_KITS_FILE', __FILE__ );
    4040define( 'DOKAN_KITS_BASENAME', plugin_basename( __FILE__ ) );
     
    5353require_once __DIR__ . '/vendor/autoload.php';
    5454
    55 if ( ! class_exists( 'WooCommerce' ) || ! class_exists( 'WeDevs_Dokan' ) ) {
     55if ( ! is_plugin_active( 'woocommerce/woocommerce.php' ) || ! is_plugin_active( 'dokan-lite/dokan.php' ) ) {
    5656    add_action( 'admin_notices', array( DokanKits\Admin\Notices\Dependencies::class, 'missing_dependencies_notice' ) );
    5757    return;
  • dokan-kits/trunk/includes/Admin/Notices/Dependencies.php

    r3335399 r3335424  
    3232
    3333        // Check for WooCommerce.
    34         if ( ! class_exists( 'WooCommerce' ) ) {
     34        if ( ! is_plugin_active( 'woocommerce/woocommerce.php' ) ) {
    3535            $missing_plugins[] = array(
    3636                'name' => 'WooCommerce',
     
    4141
    4242        // Check for Dokan.
    43         if ( ! class_exists( 'WeDevs_Dokan' ) ) {
     43        if ( ! is_plugin_active( 'dokan-lite/dokan.php' ) ) {
    4444            $missing_plugins[] = array(
    4545                'name' => 'Dokan Lite',
  • dokan-kits/trunk/languages/dokan-kits.pot

    r3335399 r3335424  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Dokan Kits 3.0.4\n"
     5"Project-Id-Version: Dokan Kits 3.0.5\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/dokan-kits\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-07-27T19:29:49+00:00\n"
     12"POT-Creation-Date: 2025-07-28T14:18:59+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
  • dokan-kits/trunk/readme.txt

    r3335399 r3335424  
    55Requires at least: 6.4.2
    66Tested up to: 6.8
    7 Stable tag: 3.0.4
     7Stable tag: 3.0.5
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    122122== Changelog ==
    123123
     124= 3.0.5 - Jul 28, 2025 =
     125* Fix: Resolve an critical issue on plugin dependency management.
     126
    124127= 3.0.4 - Jul 22, 2025 =
    125128* Added support for card-select field components in admin interface
  • dokan-kits/trunk/vendor/composer/installed.php

    r3335399 r3335424  
    44        'pretty_version' => 'dev-trunk',
    55        'version' => 'dev-trunk',
    6         'reference' => '05caae49e36028dbd20fc5c9a10be81f886f1244',
     6        'reference' => '5d7b2d955c641f3cd4ead22335b127cad4b6d33b',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-trunk',
    1515            'version' => 'dev-trunk',
    16             'reference' => '05caae49e36028dbd20fc5c9a10be81f886f1244',
     16            'reference' => '5d7b2d955c641f3cd4ead22335b127cad4b6d33b',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.