close

Plugin Directory

Changeset 3100372


Ignore:
Timestamp:
06/10/2024 08:15:18 AM (21 months ago)
Author:
tareq1988
Message:

Tagging version 3.11.3

Location:
dokan-lite
Files:
80 edited
1 copied

Legend:

Unmodified
Added
Removed
  • dokan-lite/tags/3.11.3/assets/css/style.css

    r3076721 r3100372  
    520520  margin-bottom: 20px;
    521521  line-height: 24px;
     522  margin-left: 0;
    522523}
    523524ul.dokan_tabs > li {
     
    23682369  border-bottom: 1px solid #EDEDED;
    23692370  padding: 0 0 10px 0;
     2371  line-height: 1.25;
    23702372}
    23712373.dokan-dashboard header.dokan-dashboard-header .dokan-add-product-link .dokan-btn {
     
    63746376    width: 100%;
    63756377  }
     6378  .dokan-dashboard .dokan-dash-sidebar ul.dokan_tabs,
     6379  .dokan-dashboard .dokan-dashboard-content ul.dokan_tabs {
     6380    border: 0;
     6381    gap: 0.5rem;
     6382    display: flex;
     6383    flex-wrap: wrap;
     6384    align-items: flex-start;
     6385  }
     6386  .dokan-dashboard .dokan-dash-sidebar ul.dokan_tabs li,
     6387  .dokan-dashboard .dokan-dashboard-content ul.dokan_tabs li {
     6388    margin: auto 0 !important;
     6389    border-bottom: 1px solid #EDEDED;
     6390  }
     6391  .dokan-dashboard .dokan-dash-sidebar ul.dokan_tabs li.active a,
     6392  .dokan-dashboard .dokan-dashboard-content ul.dokan_tabs li.active a {
     6393    border-bottom: 1px solid #EDEDED;
     6394  }
    63766395  .dokan-dashboard .product-edit-new-container .dokan-edit-row .dokan-side-left,
    63776396  .dokan-dashboard .product-edit-new-container .dokan-edit-row .dokan-side-right {
  • dokan-lite/tags/3.11.3/dokan.php

    r3093058 r3100372  
    44 * Plugin URI: https://dokan.co/wordpress/
    55 * Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
    6  * Version: 3.11.2
     6 * Version: 3.11.3
    77 * Author: weDevs
    88 * Author URI: https://dokan.co/
     
    1010 * Requires Plugins: woocommerce
    1111 * WC requires at least: 8.0.0
    12  * WC tested up to: 8.9.1
     12 * WC tested up to: 8.9.2
    1313 * Domain Path: /languages/
    1414 * License: GPL2
     
    6767     * @var string
    6868     */
    69     public $version = '3.11.2';
     69    public $version = '3.11.3';
    7070
    7171    /**
  • dokan-lite/tags/3.11.3/includes/Admin/Notices/Helper.php

    r3003600 r3100372  
    117117        }
    118118
    119         if ( ! property_exists( dokan_pro(), 'license' ) ) {
    120             // this is old version of dokan pro
     119        try {
     120            return dokan_pro()->license->is_valid();
     121        } catch ( \Exception $e ) {
    121122            return false;
    122123        }
    123 
    124         $license = dokan_pro()->license->plugin_update_message();
    125         if ( ! empty( $license ) ) {
    126             // if the plugin update message is not empty, then the license is not active
    127             return false;
    128         }
    129 
    130         return true;
    131124    }
    132125
  • dokan-lite/tags/3.11.3/includes/Admin/functions.php

    r3034469 r3100372  
    110110            GROUP BY {$group_by_query}";
    111111
    112     $data = $wpdb->get_results( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL
     112    $data = $wpdb->get_results( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL, WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    113113
    114114    return apply_filters( 'dokan_get_admin_report_data', $data, $group_by, $year, $start, $end, $seller_id );
     
    434434            GROUP BY $group_by_query";
    435435
    436     $data = $wpdb->get_results( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL
     436    $data = $wpdb->get_results( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL, WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    437437
    438438    // Prepare data for report
  • dokan-lite/tags/3.11.3/includes/Order/Manager.php

    r3027996 r3100372  
    370370        }
    371371
     372        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    372373        $order_id = $wpdb->get_var( $wpdb->prepare( "SELECT 1 FROM {$wpdb->prefix}dokan_orders WHERE order_id=%d LIMIT 1", $order_id ) );
    373374
     
    388389        global $wpdb;
    389390
    390         return 1 === (int) $wpdb->get_var(
    391                 $wpdb->prepare(
    392                     "SELECT 1 FROM {$wpdb->prefix}dokan_orders WHERE seller_id = %d AND order_id = %d LIMIT 1",
    393                     [ $seller_id, $order_id ]
    394                 )
    395             );
     391        return 1 === (int) $wpdb->get_var( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
     392            $wpdb->prepare(
     393                "SELECT 1 FROM {$wpdb->prefix}dokan_orders WHERE seller_id = %d AND order_id = %d LIMIT 1",
     394                [ $seller_id, $order_id ]
     395            )
     396        );
    396397    }
    397398
     
    488489        }
    489490
     491        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    490492        $deleted = $wpdb->delete( $wpdb->prefix . 'dokan_orders', $where, $where_format );
    491493        if ( false === $deleted ) {
     
    496498
    497499        // delete from dokan refund table -> order_id
    498         $deleted = $wpdb->query(
     500        $deleted = $wpdb->query(  // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    499501            $wpdb->prepare(
    500502                "DELETE FROM `{$wpdb->prefix}dokan_refund` WHERE order_id = %d",
     
    509511
    510512        // delete data from vendor balance table -> trn_id, trn_type: dokan_orders, dokan_refund, dokan_withdraw
    511         $deleted = $wpdb->query(
     513        $deleted = $wpdb->query( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    512514            $wpdb->prepare(
    513515                "DELETE FROM `{$wpdb->prefix}dokan_vendor_balance`
     
    521523
    522524        // delete data from reverse withdrawal table -> order_id, trn_type: order_commission, manual_order_commission, order_refund
    523         $deleted = $wpdb->query(
     525        $deleted = $wpdb->query( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    524526            $wpdb->prepare(
    525527                "DELETE FROM `{$wpdb->prefix}dokan_reverse_withdrawal`
  • dokan-lite/tags/3.11.3/includes/Order/MiscHooks.php

    r3044820 r3100372  
    5151        if ( $order->get_parent_id() ) {
    5252            global $wpdb;
     53            // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    5354            $wpdb->delete( $wpdb->prefix . 'wc_order_product_lookup', [ 'order_id' => $order->get_id() ] );
     55            // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    5456            $wpdb->delete( $wpdb->prefix . 'wc_order_stats', [ 'order_id' => $order->get_id() ] );
    5557        }
  • dokan-lite/tags/3.11.3/includes/ProductCategory/Hooks.php

    r2756718 r3100372  
    8585
    8686        while ( null !== $results ) {
    87             $results = $wpdb->get_results(
     87            $results = $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    8888                $wpdb->prepare( "SELECT post_id, meta_value FROM {$wpdb->prefix}postmeta where meta_key='chosen_product_cat' AND meta_value LIKE %s LIMIT %d OFFSET %d", $search_key, $limit, $offset ),
    8989                ARRAY_A
  • dokan-lite/tags/3.11.3/includes/Registration.php

    r3062535 r3100372  
    5252
    5353        // is the role name allowed or user is trying to manipulate?
    54         if ( isset( $_POST['role'] ) && ! in_array( $_POST['role'], $allowed_roles, true ) ) {
     54        if ( empty( $_POST['role'] ) || ( ! in_array( $_POST['role'], $allowed_roles, true ) ) ) {
    5555            return new WP_Error( 'role-error', __( 'Cheating, eh?', 'dokan-lite' ) );
    5656        }
  • dokan-lite/tags/3.11.3/includes/ReverseWithdrawal/Manager.php

    r2943006 r3100372  
    557557
    558558        // add data into database
    559         $inserted  = $wpdb->insert( $this->get_table(), $data, $format );
     559        $inserted  = $wpdb->insert( $this->get_table(), $data, $format ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery
    560560        $insert_id = $wpdb->insert_id;
    561561
  • dokan-lite/tags/3.11.3/includes/Upgrade/Upgrades/BackgroundProcesses/V_2_8_3_VendorBalance.php

    r2790697 r3100372  
    8484        $threshold_day = dokan_get_option( 'withdraw_date_limit', 'dokan_withdraw', 0 );
    8585
    86         $results = $wpdb->get_results(
     86        $results = $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    8787            $wpdb->prepare(
    8888                "SELECT `order`.*, post.post_date from {$wpdb->prefix}dokan_orders as `order` left join {$wpdb->prefix}posts as post on post.ID = order.order_id LIMIT %d OFFSET %d",
     
    128128        $limit   = 100;
    129129        $count   = $limit * $paged;
    130         $results = $wpdb->get_results(
     130        $results = $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    131131            $wpdb->prepare(
    132132                "SELECT * from {$wpdb->prefix}dokan_withdraw WHERE `status` = 1 LIMIT %d OFFSET %d",
     
    167167        global $wpdb;
    168168
    169         $wpdb->insert(
     169        $wpdb->insert( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery
    170170            $wpdb->prefix . 'dokan_vendor_balance', $data,
    171171            array(
  • dokan-lite/tags/3.11.3/includes/Upgrade/Upgrades/BackgroundProcesses/V_2_9_4_OrderPostAuthor.php

    r2790697 r3100372  
    4545        $limit  = 100;
    4646        $count  = $limit * $paged;
    47         $orders = $wpdb->get_results(
     47        $orders = $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    4848            $wpdb->prepare(
    4949                "SELECT `id`, `post_author` FROM {$wpdb->posts} WHERE `post_type` = 'shop_order' LIMIT %d OFFSET %d",
  • dokan-lite/tags/3.11.3/includes/Upgrade/Upgrades/V_1_2.php

    r2955180 r3100372  
    2020        global $wpdb;
    2121
    22         $orders = $wpdb->get_results(
     22        $orders = $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    2323            $wpdb->prepare(
    2424                "SELECT oi.order_id, p.ID as product_id, p.post_title, p.post_author as seller_id,
     
    4343        foreach ( $orders as $order ) {
    4444            $net_amount = dokan()->commission->get_earning_by_order( $order->order_id, 'seller' );
    45             $wpdb->insert(
     45            $wpdb->insert( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery
    4646                $table_name,
    4747                [
  • dokan-lite/tags/3.11.3/includes/Upgrade/Upgrades/V_2_9_13.php

    r2790697 r3100372  
    1717        $map_table = $wpdb->prefix . 'dokan_product_map';
    1818
     19        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    1920        if ( $wpdb->get_var( $wpdb->prepare( 'show tables like %s', $map_table ) ) !== $map_table ) {
    2021            return;
  • dokan-lite/tags/3.11.3/includes/Upgrade/Upgrades/V_2_9_4.php

    r2790697 r3100372  
    3636        $table_name = $wpdb->prefix . 'dokan_refund';
    3737
     38        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange
    3839        if ( $wpdb->get_var( $wpdb->prepare( 'SHOW TABLES LIKE %s', $table_name ) ) !== $table_name ) {
    3940            return;
  • dokan-lite/tags/3.11.3/includes/Upgrade/Upgrades/V_3_0_4.php

    r2790697 r3100372  
    3636            $table_name = $wpdb->prefix . $table;
    3737
     38            // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    3839            if ( $wpdb->get_var( $wpdb->prepare( 'SHOW TABLES LIKE %s', $table_name ) ) !== $table_name ) {
    3940                continue;
     
    4142
    4243            foreach ( $columns as $column ) {
    43                 $wpdb->query( "ALTER TABLE `{$table_name}` MODIFY COLUMN `{$column}` DECIMAL(19,4)" ); // phpcs:ignore
     44                // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange, WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder
     45                $wpdb->query( $wpdb->prepare( 'ALTER TABLE %i MODIFY COLUMN %i DECIMAL(19,4)', $table_name, $column ) );
    4446            }
    4547        }
  • dokan-lite/tags/3.11.3/includes/Upgrade/Upgrades/V_3_2_12.php

    r2597725 r3100372  
    2020        $map_table = $wpdb->prefix . 'dokan_withdraw';
    2121
     22        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    2223        if ( $wpdb->get_var( $wpdb->prepare( 'show tables like %s', $map_table ) ) !== $map_table ) {
    2324            return;
     
    3233        );
    3334
     35        $column = 'details';
     36        $after = 'note';
     37
    3438        if ( empty( $columns ) ) {
    35             $wpdb->query(
    36                 "alter table {$map_table} add column details longtext NOT NULL AFTER note" // phpcs:ignore
    37             );
     39            // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange, WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder
     40            $wpdb->query( $wpdb->prepare( 'alter table %i add column %i longtext NOT NULL AFTER %i', $map_table, $column, $after ) );
    3841        }
    3942    }
  • dokan-lite/tags/3.11.3/includes/Upgrade/Upgrades/V_3_3_1.php

    r2790697 r3100372  
    1919        include_once ABSPATH . 'wp-admin/includes/upgrade.php';
    2020
     21        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    2122        $existing_columns = $wpdb->get_col( "DESC `{$wpdb->prefix}dokan_withdraw`", 0 );
    2223
     
    2526        }
    2627
    27         $wpdb->query(
    28             "ALTER TABLE `{$wpdb->prefix}dokan_withdraw` ADD COLUMN `details` longtext AFTER `note`" // phpcs:ignore
    29         );
     28        $table = $wpdb->prefix . 'dokan_withdraw';
     29        $column = 'details';
     30        $after = 'note';
     31
     32        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange, WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder
     33        $wpdb->query( $wpdb->prepare( 'ALTER TABLE %i ADD COLUMN %i longtext AFTER %i', $table, $column, $after ) );
    3034    }
    3135
     
    4246        include_once ABSPATH . 'wp-admin/includes/upgrade.php';
    4347
     48        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    4449        $existing_columns = $wpdb->get_results( "DESC `{$wpdb->prefix}dokan_refund`" );
    4550
    4651        foreach ( (array) $existing_columns as $existing_column ) {
    4752            if ( in_array( $existing_column->Field, [ 'item_totals', 'item_tax_totals' ], true ) && 'text' !== $existing_column->Type ) { // phpcs:ignore
    48                 $wpdb->query(
    49                     "ALTER TABLE `{$wpdb->prefix}dokan_refund` MODIFY COLUMN {$existing_column->Field} text" // phpcs:ignore
    50                 );
     53                $table  = $wpdb->prefix . 'dokan_refund';
     54                $column = $existing_column->Field; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
     55
     56                // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange, WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder
     57                $wpdb->query( $wpdb->prepare( 'ALTER TABLE %i MODIFY COLUMN %i text', $table, $column ) );
    5158            }
    5259        }
  • dokan-lite/tags/3.11.3/includes/Upgrade/Upgrades/V_3_3_7.php

    r2672234 r3100372  
    1818        global $wpdb;
    1919
     20        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    2021        $existing_columns = $wpdb->get_results( "DESC `{$wpdb->prefix}dokan_withdraw`" );
    2122
    2223        foreach ( (array) $existing_columns as $existing_column ) {
    2324            if ( 'details' === $existing_column->Field && 'NO' === $existing_column->Null ) { // phpcs:ignore
    24                 $wpdb->query(
    25                     "ALTER TABLE `{$wpdb->prefix}dokan_withdraw` MODIFY COLUMN {$existing_column->Field} longtext NULL" // phpcs:ignore
    26                 );
     25                $table = $wpdb->prefix . 'dokan_withdraw';
     26                $column = $existing_column->Field; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
     27
     28                // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange, WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder
     29                $wpdb->query( $wpdb->prepare( 'ALTER TABLE %i MODIFY COLUMN %i longtext NULL', $table, $column ) );
    2730            }
    2831        }
  • dokan-lite/tags/3.11.3/includes/functions-compatibility.php

    r2955180 r3100372  
    198198    if ( ! empty( $new_download_ids ) || ! empty( $removed_download_ids ) ) {
    199199        // determine whether downloadable file access has been granted via the typical order completion, or via the admin ajax method
    200         $existing_permissions = $wpdb->get_results( $wpdb->prepare( "SELECT * from {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE product_id = %d GROUP BY order_id", $product_id ) );
     200        $existing_permissions = $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
     201            $wpdb->prepare(
     202                "SELECT * from {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE product_id = %d GROUP BY order_id",
     203                $product_id
     204            )
     205        );
    201206
    202207        foreach ( $existing_permissions as $existing_permission ) {
     
    208213                    foreach ( $removed_download_ids as $download_id ) {
    209214                        if ( apply_filters( 'woocommerce_process_product_file_download_paths_remove_access_to_old_file', true, $download_id, $product_id, $order ) ) {
    210                             $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE order_id = %d AND product_id = %d AND download_id = %s", $order->get_id(), $product_id, $download_id ) );
     215                            $wpdb->query( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
     216                                $wpdb->prepare(
     217                                    "DELETE FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE order_id = %d AND product_id = %d AND download_id = %s", $order->get_id(),
     218                                    $product_id,
     219                                    $download_id
     220                                )
     221                            );
    211222                        }
    212223                    }
     
    217228                        if ( apply_filters( 'woocommerce_process_product_file_download_paths_grant_access_to_new_file', true, $download_id, $product_id, $order ) ) {
    218229                            // grant permission if it doesn't already exist
    219                             if ( ! $wpdb->get_var( $wpdb->prepare( "SELECT 1=1 FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE order_id = %d AND product_id = %d AND download_id = %s", $order->get_id(), $product_id, $download_id ) ) ) {
     230                            if (
     231                                ! $wpdb->get_var( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
     232                                    $wpdb->prepare(
     233                                        "SELECT 1=1 FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE order_id = %d AND product_id = %d AND download_id = %s",
     234                                        $order->get_id(),
     235                                        $product_id,
     236                                        $download_id
     237                                    )
     238                                )
     239                            ) {
    220240                                wc_downloadable_file_permission( $download_id, $product_id, $order );
    221241                            }
  • dokan-lite/tags/3.11.3/languages/dokan-lite.pot

    r3093058 r3100372  
    22msgid ""
    33msgstr ""
    4 "Project-Id-Version: Dokan 3.11.2\n"
     4"Project-Id-Version: Dokan 3.11.3\n"
    55"Report-Msgid-Bugs-To: https://dokan.co/contact/\n"
    66"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    99"Content-Type: text/plain; charset=UTF-8\n"
    1010"Content-Transfer-Encoding: 8bit\n"
    11 "POT-Creation-Date: 2024-05-27T10:12:19+00:00\n"
     11"POT-Creation-Date: 2024-06-07T09:14:47+00:00\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"X-Generator: WP-CLI 2.9.0\n"
     
    16071607#: templates/products/products-listing-row.php:67
    16081608#: templates/products/products-listing.php:121
    1609 #: templates/sub-orders.php:45
     1609#: templates/sub-orders.php:47
    16101610#: templates/withdraw/pending-request-listing-dashboard.php:25
    16111611#: templates/withdraw/pending-request-listing.php:20
     
    16321632#: templates/products/products-listing.php:130
    16331633#: templates/reverse-withdrawal/transaction-listing.php:19
    1634 #: templates/sub-orders.php:44
     1634#: templates/sub-orders.php:46
    16351635#: templates/withdraw/approved-request-listing.php:20
    16361636#: templates/withdraw/cancelled-request-listing.php:20
     
    19311931#: templates/orders/listing.php:20
    19321932#: templates/products/products-listing.php:108
    1933 #: templates/store-lists-filter.php:87
     1933#: templates/store-lists-filter.php:84
    19341934#: assets/js/vue-admin.js:2
    19351935msgid "Apply"
     
    20312031#: templates/products/tmpl-add-product-popup.php:68
    20322032#: templates/settings/bank-payment-method-settings.php:203
    2033 #: templates/store-lists-filter.php:86
     2033#: templates/store-lists-filter.php:83
    20342034#: templates/withdraw/pending-request-listing-dashboard.php:24
    20352035#: templates/withdraw/pending-request-listing-dashboard.php:46
     
    37523752#: templates/orders/listing.php:30
    37533753#: templates/orders/listing.php:57
    3754 #: templates/sub-orders.php:43
     3754#: templates/sub-orders.php:45
    37553755#: assets/js/vue-admin.js:2
    37563756msgid "Order"
     
    45104510#: templates/my-orders.php:101
    45114511#: templates/orders/listing.php:150
    4512 #: templates/sub-orders.php:96
     4512#: templates/sub-orders.php:99
    45134513msgid "View"
    45144514msgstr ""
     
    46974697#: templates/my-orders.php:28
    46984698#: templates/orders/order-fee-html.php:24
    4699 #: templates/sub-orders.php:49
     4699#: templates/sub-orders.php:51
    47004700msgid "Total"
    47014701msgstr ""
     
    85528552#. translators: 1) order total amount 2) order item count
    85538553#: templates/my-orders.php:63
    8554 #: templates/sub-orders.php:85
     8554#: templates/sub-orders.php:88
    85558555msgid "%1$s for %2$s item"
    85568556msgid_plural "%1$s for %2$s items"
     
    87518751
    87528752#: templates/orders/listing.php:37
    8753 #: templates/sub-orders.php:47
     8753#: templates/sub-orders.php:49
    87548754msgid "Shipment"
    87558755msgstr ""
     
    87868786
    87878787#: templates/orders/listing.php:116
    8788 #: templates/sub-orders.php:76
     8788#: templates/sub-orders.php:79
    87898789msgid "Shipping Status"
    87908790msgstr ""
     
    94859485msgstr ""
    94869486
    9487 #: templates/store-lists-filter.php:77
     9487#: templates/store-lists-filter.php:74
    94889488#: assets/js/vue-admin.js:2
    94899489msgid "Search Vendors"
     
    95329532msgstr ""
    95339533
    9534 #: templates/sub-orders.php:33
     9534#: templates/sub-orders.php:34
    95359535msgid "This order has products from multiple vendors. So we divided this order into multiple vendor orders. Each order will be handled by their respective vendor independently."
    95369536msgstr ""
  • dokan-lite/tags/3.11.3/readme.txt

    r3093058 r3100372  
    1 === Dokan - Best WooCommerce Multivendor Marketplace Solution - Build Your Own Amazon, eBay, Etsy ===
     1=== Dokan - Powerful WooCommerce Multivendor Marketplace Solution - Build Your Own Amazon, eBay, Etsy ===
    22Contributors: tareq1988, wedevs, nizamuddinbabu
    33Donate Link: http://tareq.co/donate/
    44Tags: WooCommerce multivendor marketplace, multivendor marketplace, multivendor, multi seller, multi vendor, WooCommerce marketplace, WooCommerce product vendors
    55Requires at least: 6.4
    6 Tested up to: 6.5.3
     6Tested up to: 6.5.4
    77WC requires at least: 8.0.0
    8 WC tested up to: 8.9.1
     8WC tested up to: 8.9.2
    99Requires PHP: 7.4
    10 Stable tag: 3.11.2
     10Stable tag: 3.11.3
    1111License: GPLv2 or later
    1212License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1313
    14 Transform your WooCommerce site into a robust multivendor marketplace with Dokan - the #1 WooCommerce multivendor marketplace solution!
     14Transform your WooCommerce site into a multivendor marketplace with Dokan - a powerful and advanced WooCommerce multivendor marketplace solution
    1515
    1616== Description ==
     
    348348== Changelog ==
    349349
     350= v3.11.3 ( Jun 10, 2024 ) =
     351
     352- **fix:** Responsive issue on vendor dashboard tabs preview.
     353
    350354= v3.11.2 ( May 27, 2024 ) =
    351355
  • dokan-lite/tags/3.11.3/templates/emails/plain/new-seller-registered.php

    r3062535 r3100372  
    2929
    3030// translators: 1) seller name
    31 echo sprintf( esc_html__( 'Vendor: %s', 'dokan-lite' ), esc_html( $data['{seller_name}'] ) );
     31printf( esc_html__( 'Vendor: %s', 'dokan-lite' ), esc_html( $data['{seller_name}'] ) );
    3232echo " \n";
    3333
    3434// translators: 1) store name
    35 echo sprintf( esc_html__( 'Vendor Store: %s', 'dokan-lite' ), $data['{store_name}'] );
     35printf( esc_html__( 'Vendor Store: %s', 'dokan-lite' ), esc_html( $data['{store_name}'] ) );
    3636echo " \n";
    3737
    3838// translators: 1) seller edit url
    39 echo sprintf( esc_html__( 'To edit vendor access and details visit : %s', 'dokan-lite' ), esc_url( $data['{seller_edit}'] ) );
     39printf( esc_html__( 'To edit vendor access and details visit : %s', 'dokan-lite' ), esc_url( $data['{seller_edit}'] ) );
    4040
    4141echo "\n\n----------------------------------------\n\n";
  • dokan-lite/tags/3.11.3/templates/emails/plain/reverse-withdrawal-invoice.php

    r2790697 r3100372  
    2525
    2626// translators: 1) store name
    27 printf( esc_html__( 'Hi %s,\n\n', 'dokan-lite' ), $seller_info->get_shop_name() );
     27printf( esc_html__( 'Hi %s,\n\n', 'dokan-lite' ), esc_html( $seller_info->get_shop_name() ) );
    2828
    2929// translators: 1) invoice month 2) invoice year 3) store name
    30 printf( esc_html__( 'Your %1$s %2$s invoice is now available for store: %3$s.\n\n', 'dokan-lite' ), $data['{month}'], $data['{year}'], $seller_info->get_shop_name() );
     30printf( esc_html__( 'Your %1$s %2$s invoice is now available for store: %3$s.\n\n', 'dokan-lite' ), esc_html( $data['{month}'] ), esc_html( $data['{year}'] ), esc_html( $seller_info->get_shop_name() ) );
    3131
    3232// translators: 1) store name
    33 printf( esc_html__( 'Summary for %1$s: \n\n', 'dokan-lite' ), $seller_info->get_shop_name() );
     33printf( esc_html__( 'Summary for %1$s: \n\n', 'dokan-lite' ), esc_html( $seller_info->get_shop_name() ) );
    3434
    3535// translators: 1) invoice month 2) invoice year 3) due balance amount
    36 printf( esc_html__( 'Reverse withdrawal charges for %1$s %2$s: %3$s \n\n', 'dokan-lite' ), $data['{month}'], $data['{year}'], wc_price( $due_status['balance']['payable_amount'] ) );
     36printf( esc_html__( 'Reverse withdrawal charges for %1$s %2$s: %3$s \n\n', 'dokan-lite' ), esc_html( $data['{month}'] ), esc_html( $data['{year}'] ), esc_html( wc_price( $due_status['balance']['payable_amount'] ) ) );
    3737
    3838// translators: 1) invoice due date
    39 printf( esc_html__( 'Due Date %1$s: \n\n', 'dokan-lite' ), 'immediate' === $due_status['due_date'] ? ucfirst( $due_status['due_date'] ) : dokan_format_date( $due_status['due_date'] ) );
     39printf( esc_html__( 'Due Date %1$s: \n\n', 'dokan-lite' ), 'immediate' === $due_status['due_date'] ? esc_html( ucfirst( $due_status['due_date'] ) ) : esc_html( dokan_format_date( $due_status['due_date'] ) ) );
    4040
    4141printf(
  • dokan-lite/tags/3.11.3/templates/emails/plain/vendor-completed-order.php

    r3062535 r3100372  
    1818
    1919// translators: 1) order billing full name
    20 echo sprintf( __( 'You have received complete order from %s.', 'dokan-lite' ), $order->get_formatted_billing_full_name() ) . "\n\n";
     20echo sprintf( esc_html__( 'You have received complete order from %s.', 'dokan-lite' ), esc_html( $order->get_formatted_billing_full_name() ) ) . "\n\n";
    2121echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
    2222
  • dokan-lite/tags/3.11.3/templates/emails/plain/vendor-new-order.php

    r3062535 r3100372  
    1818
    1919// translators: 1) order billing full name
    20 echo sprintf( __( 'You have received an order from %s.', 'dokan-lite' ), $order->get_formatted_billing_full_name() ) . "\n\n";
     20echo sprintf( esc_html__( 'You have received an order from %s.', 'dokan-lite' ), esc_html( $order->get_formatted_billing_full_name() ) ) . "\n\n";
    2121echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
    2222
  • dokan-lite/tags/3.11.3/templates/emails/plain/vendor-product-review.php

    r3062535 r3100372  
    2626// translators: 1) product name, 2) customer name, 3) rating
    2727    esc_html__( 'We are happy to inform you that your product %1$s has received a new review on our website. The review was written by %2$s and has a rating of %3$s out of 5 stars.', 'dokan-lite' ),
    28     $data['{product_name}'],
    29     $data['{customer_name}'],
    30     $data['{rating}']
     28    esc_html( $data['{product_name}'] ),
     29    esc_html( $data['{customer_name}'] ),
     30    esc_html( $data['{rating}'] )
    3131);
    3232echo " \n\n";
  • dokan-lite/tags/3.11.3/templates/emails/product-published.php

    r3062535 r3100372  
    1717    <?php
    1818    // translators: 1) seller name
    19     echo sprintf( __( 'Hello %s', 'dokan-lite' ), esc_html( $data['{store_name}'] ) );
     19    printf( esc_html__( 'Hello %s', 'dokan-lite' ), esc_html( $data['{store_name}'] ) );
    2020    ?>
    2121</p>
  • dokan-lite/tags/3.11.3/templates/emails/reverse-withdrawal-invoice.php

    r2790697 r3100372  
    3030<p>
    3131    <?php
    32     echo sprintf(
     32    printf(
    3333        // translators: 1) invoice month 2) invoice year 3) store name
    3434        esc_html__( 'Your %1$s %2$s invoice is now available for store: %3$s.', 'dokan-lite' ),
     
    4343            <?php
    4444            // translators: 1) store name
    45             printf( esc_html__( 'Summary for %1$s: ', 'dokan-lite' ), $seller_info->get_shop_name() );
     45            printf( esc_html__( 'Summary for %1$s: ', 'dokan-lite' ), esc_html( $seller_info->get_shop_name() ) );
    4646            ?>
    4747        </strong>
     
    6363            <?php esc_html_e( 'Due Date: ', 'dokan-lite' ); ?>
    6464        </strong>
    65         <?php echo 'immediate' === $due_status['due_date'] ? ucfirst( $due_status['due_date'] ) : dokan_format_date( $due_status['due_date'] ); ?>
     65        <?php echo 'immediate' === $due_status['due_date'] ? esc_html( ucfirst( $due_status['due_date'] ) ) : esc_html( dokan_format_date( $due_status['due_date'] ) ); ?>
    6666    </li>
    6767</ul>
  • dokan-lite/tags/3.11.3/templates/emails/vendor-completed-order.php

    r3062535 r3100372  
    3535        <?php
    3636        // translators: 1) order billing full name
    37         printf( __( 'You have received complete order from %s.', 'dokan-lite' ), esc_html( $order->get_formatted_billing_full_name() ) );
     37        printf( esc_html__( 'You have received complete order from %s.', 'dokan-lite' ), esc_html( $order->get_formatted_billing_full_name() ) );
    3838        ?>
    3939    </p>
     
    7878                $i = 0;
    7979                foreach ( $item_totals as $total ) {
    80                     $i ++;
     80                    ++$i;
    8181                    ?>
    8282                    <tr>
  • dokan-lite/tags/3.11.3/templates/emails/vendor-new-order.php

    r3062535 r3100372  
    3434        <?php
    3535        // translators: 1) order formatted billing full name
    36         printf( __( 'You have received an order from %s.', 'dokan-lite' ), $order->get_formatted_billing_full_name() );
     36        printf( esc_html__( 'You have received an order from %s.', 'dokan-lite' ), esc_html( $order->get_formatted_billing_full_name() ) );
    3737        ?>
    3838    </p>
     
    7979                $i = 0;
    8080                foreach ( $item_totals as $total ) {
    81                     $i ++;
     81                    ++$i;
    8282                    ?>
    8383                    <tr>
  • dokan-lite/tags/3.11.3/templates/emails/vendor-product-review.php

    r3062535 r3100372  
    2626                __( 'We are happy to inform you that your product <strong>%1$s</strong> has received a new review on our website. The review was written by <strong>%2$s</strong> and has a rating of <strong>%3$s</strong> out of 5 stars.', 'dokan-lite' )
    2727            ),
    28             $data['{product_name}'],
    29             $data['{customer_name}'],
    30             $data['{rating}']
     28            esc_html( $data['{product_name}'] ),
     29            esc_html( $data['{customer_name}'] ),
     30            esc_html( $data['{rating}'] )
    3131        );
    3232        ?>
     
    4343            '<a href="%1$s">%2$s</a>',
    4444            esc_url( $data['{review_link}'] ),
    45             $data['{product_name}']
     45            esc_html( $data['{product_name}'] )
    4646        );
    4747        ?>
  • dokan-lite/tags/3.11.3/templates/my-orders.php

    r2955180 r3100372  
    5050                <td class="order-date">
    5151                    <time datetime="<?php echo esc_attr( $order_date->format( 'Y-m-dTH:i:s' ) ); ?>">
    52                         <?php echo dokan_format_date( $order_date ); ?>
     52                        <?php echo esc_html( dokan_format_date( $order_date ) ); ?>
    5353                    </time>
    5454                </td>
  • dokan-lite/tags/3.11.3/templates/reverse-withdrawal/transaction-listing.php

    r2790697 r3100372  
    3838                    <?php
    3939                    // translators: 1) transaction url 2) transaction id
    40                     echo sprintf( '<a href="%1$s" target="_blank">%2$s</a>', $transaction['trn_url'], $transaction['trn_id'] )
     40                    printf( '<a href="%1$s" target="_blank">%2$s</a>', esc_url( $transaction['trn_url'] ), esc_html( $transaction['trn_id'] ) )
    4141                    ?>
    4242                </td>
     
    4444                <td><?php echo esc_html( $transaction['trn_type'] ); ?></td>
    4545                <td><?php echo esc_html( $transaction['note'] ); ?></td>
    46                 <td><?php echo $transaction['debit'] === '' ? '--' : wc_price( $transaction['debit'] ); ?></td>
    47                 <td><?php echo $transaction['credit'] === '' ? '--' : wc_price( $transaction['credit'] ); ?></td>
     46                <td><?php echo $transaction['debit'] === '' ? '--' : wp_kses_post( wc_price( $transaction['debit'] ) ); ?></td>
     47                <td><?php echo $transaction['credit'] === '' ? '--' : wp_kses_post( wc_price( $transaction['credit'] ) ); ?></td>
    4848                <td>
    49                     <?php echo $transaction['balance'] < 0 ? sprintf( '(%1$s)', wc_price( abs( $transaction['balance'] ) ) ) : wc_price( $transaction['balance'] ); ?>
     49                    <?php echo $transaction['balance'] < 0 ? sprintf( '(%1$s)', wp_kses_post( wc_price( abs( $transaction['balance'] ) ) ) ) : wp_kses_post( wc_price( $transaction['balance'] ) ); ?>
    5050                </td>
    5151            </tr>
     
    6161                <td></td>
    6262                <td><b><?php esc_html_e( 'Balance:', 'dokan-lite' ); ?></b></td>
    63                 <td><b><?php echo wc_price( $current_balance ); ?></b></td>
     63                <td><b><?php echo wp_kses_post( wc_price( $current_balance ) ); ?></b></td>
    6464            </tr>
    6565            <?php
  • dokan-lite/tags/3.11.3/templates/store-lists-filter.php

    r3034469 r3100372  
    2626            <?php
    2727            // translators: 1) number of stores
    28             printf( _n( 'Total store showing: %s', 'Total stores showing: %s', $number_of_store, 'dokan-lite' ), number_format_i18n( $number_of_store ) );
     28            printf( esc_html( _n( 'Total store showing: %s', 'Total stores showing: %s', $number_of_store, 'dokan-lite' ) ), esc_html( number_format_i18n( $number_of_store ) ) );
    2929            ?>
    3030        </p>
     
    4949
    5050            <select name="stores_orderby" id="stores_orderby" aria-label="<?php esc_html_e( 'Sort by', 'dokan-lite' ); ?>">
    51                 <?php
    52                 foreach ( $sort_filters as $key => $filter ) {
    53                     $optoins = "<option value='{$key}'" . selected( $sort_by, $key, false ) . ">{$filter}</option>";
    54                     printf( $optoins );
    55                 }
    56                 ?>
     51                <?php foreach ( $sort_filters as $key => $filter ) : ?>
     52                    <option value="<?php echo esc_attr( $key ); ?>" <?php selected( $sort_by, $key ); ?> ><?php echo esc_html( $filter ); ?></option>
     53                <?php endforeach; ?>
    5754            </select>
    5855        </form>
  • dokan-lite/tags/3.11.3/templates/sub-orders.php

    r2955180 r3100372  
    2929     * @args array $statuses
    3030     */
    31     echo apply_filters(
    32         'dokan_suborder_notice_to_customer',
    33         esc_html__(
    34             'This order has products from multiple vendors. So we divided this order into multiple vendor orders. Each order will be handled by their respective vendor independently.', 'dokan-lite'
    35         ), $parent_order, $sub_orders, $statuses
     31    echo esc_html(
     32        apply_filters(
     33            'dokan_suborder_notice_to_customer',
     34            esc_html__(
     35                'This order has products from multiple vendors. So we divided this order into multiple vendor orders. Each order will be handled by their respective vendor independently.', 'dokan-lite'
     36            ), $parent_order, $sub_orders, $statuses
     37        )
    3638    );
    3739    ?>
     
    5456    <?php
    5557    $now = dokan_current_datetime();
     58    // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
    5659    foreach ( $sub_orders as $order ) {
    5760        $item_count = $order->get_item_count();
     
    6164            <tr class="order">
    6265                <td class="order-number">
    63                     <a href="<?php echo esc_url(  is_callable( [ $order, 'get_view_order_url' ] ) ? $order->get_view_order_url() : '#' ); ?>">
     66                    <a href="<?php echo esc_url( is_callable( [ $order, 'get_view_order_url' ] ) ? $order->get_view_order_url() : '#' ); ?>">
    6467                        <?php echo esc_html( $order->get_order_number() ); ?>
    6568                    </a>
     
    7578                <?php if ( function_exists( 'dokan_get_order_shipment_current_status' ) && 'on' === $allow_shipment && $wc_shipping_enabled ) : ?>
    7679                    <td class="dokan-order-shipping-status" data-title="<?php esc_attr_e( 'Shipping Status', 'dokan-lite' ); ?>" >
    77                         <?php echo dokan_get_order_shipment_current_status( $order->get_id() ); ?>
     80                        <?php echo wp_kses_post( dokan_get_order_shipment_current_status( $order->get_id() ) ); ?>
    7881                    </td>
    7982                <?php endif; ?>
  • dokan-lite/tags/3.11.3/templates/vendor-store-info.php

    r3093058 r3100372  
    3030        <?php if ( $store_rating['count'] ) : ?>
    3131            <?php // translators: %d reviews count ?>
    32             <p class="dokan-ratings-count">(<?php echo sprintf( _n( '%s Review', '%s Reviews', $store_rating['count'], 'dokan-lite' ), number_format_i18n( $store_rating['count'] ) ); ?>)</p>
     32            <p class="dokan-ratings-count">(<?php echo esc_html( sprintf( _n( '%s Review', '%s Reviews', $store_rating['count'], 'dokan-lite' ), esc_html( number_format_i18n( $store_rating['count'] ) ) ) ); ?>)</p>
    3333        <?php endif; ?>
    3434    </div>
  • dokan-lite/tags/3.11.3/templates/whats-new.php

    r3093058 r3100372  
    44 */
    55$changelog = [
     6    [
     7        'version'  => 'Version 3.11.3',
     8        'released' => '2024-06-10',
     9        'changes'  => [
     10            'Fix'         => [
     11                [
     12                    'title'       => 'Responsive issue on vendor dashboard tabs preview.',
     13                    'description' => '',
     14                ],
     15            ],
     16        ],
     17    ],
    618    [
    719        'version'  => 'Version 3.11.2',
  • dokan-lite/tags/3.11.3/vendor/autoload.php

    r3093058 r3100372  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit3f18ffec2167effd2a2e4b538f6de8ea::getLoader();
     7return ComposerAutoloaderInit2ebc7e183979b542a8bff98e729fa400::getLoader();
  • dokan-lite/tags/3.11.3/vendor/composer/autoload_real.php

    r3093058 r3100372  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit3f18ffec2167effd2a2e4b538f6de8ea
     5class ComposerAutoloaderInit2ebc7e183979b542a8bff98e729fa400
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit3f18ffec2167effd2a2e4b538f6de8ea', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit2ebc7e183979b542a8bff98e729fa400', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit3f18ffec2167effd2a2e4b538f6de8ea', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit2ebc7e183979b542a8bff98e729fa400', 'loadClassLoader'));
    3030
    3131        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3333            require __DIR__ . '/autoload_static.php';
    3434
    35             call_user_func(\Composer\Autoload\ComposerStaticInit3f18ffec2167effd2a2e4b538f6de8ea::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInit2ebc7e183979b542a8bff98e729fa400::getInitializer($loader));
    3636        } else {
    3737            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5454
    5555        if ($useStaticLoader) {
    56             $includeFiles = Composer\Autoload\ComposerStaticInit3f18ffec2167effd2a2e4b538f6de8ea::$files;
     56            $includeFiles = Composer\Autoload\ComposerStaticInit2ebc7e183979b542a8bff98e729fa400::$files;
    5757        } else {
    5858            $includeFiles = require __DIR__ . '/autoload_files.php';
    5959        }
    6060        foreach ($includeFiles as $fileIdentifier => $file) {
    61             composerRequire3f18ffec2167effd2a2e4b538f6de8ea($fileIdentifier, $file);
     61            composerRequire2ebc7e183979b542a8bff98e729fa400($fileIdentifier, $file);
    6262        }
    6363
     
    7171 * @return void
    7272 */
    73 function composerRequire3f18ffec2167effd2a2e4b538f6de8ea($fileIdentifier, $file)
     73function composerRequire2ebc7e183979b542a8bff98e729fa400($fileIdentifier, $file)
    7474{
    7575    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • dokan-lite/tags/3.11.3/vendor/composer/autoload_static.php

    r3093058 r3100372  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit3f18ffec2167effd2a2e4b538f6de8ea
     7class ComposerStaticInit2ebc7e183979b542a8bff98e729fa400
    88{
    99    public static $files = array (
     
    291291    {
    292292        return \Closure::bind(function () use ($loader) {
    293             $loader->prefixLengthsPsr4 = ComposerStaticInit3f18ffec2167effd2a2e4b538f6de8ea::$prefixLengthsPsr4;
    294             $loader->prefixDirsPsr4 = ComposerStaticInit3f18ffec2167effd2a2e4b538f6de8ea::$prefixDirsPsr4;
    295             $loader->classMap = ComposerStaticInit3f18ffec2167effd2a2e4b538f6de8ea::$classMap;
     293            $loader->prefixLengthsPsr4 = ComposerStaticInit2ebc7e183979b542a8bff98e729fa400::$prefixLengthsPsr4;
     294            $loader->prefixDirsPsr4 = ComposerStaticInit2ebc7e183979b542a8bff98e729fa400::$prefixDirsPsr4;
     295            $loader->classMap = ComposerStaticInit2ebc7e183979b542a8bff98e729fa400::$classMap;
    296296
    297297        }, null, ClassLoader::class);
  • dokan-lite/trunk/assets/css/style.css

    r3076721 r3100372  
    520520  margin-bottom: 20px;
    521521  line-height: 24px;
     522  margin-left: 0;
    522523}
    523524ul.dokan_tabs > li {
     
    23682369  border-bottom: 1px solid #EDEDED;
    23692370  padding: 0 0 10px 0;
     2371  line-height: 1.25;
    23702372}
    23712373.dokan-dashboard header.dokan-dashboard-header .dokan-add-product-link .dokan-btn {
     
    63746376    width: 100%;
    63756377  }
     6378  .dokan-dashboard .dokan-dash-sidebar ul.dokan_tabs,
     6379  .dokan-dashboard .dokan-dashboard-content ul.dokan_tabs {
     6380    border: 0;
     6381    gap: 0.5rem;
     6382    display: flex;
     6383    flex-wrap: wrap;
     6384    align-items: flex-start;
     6385  }
     6386  .dokan-dashboard .dokan-dash-sidebar ul.dokan_tabs li,
     6387  .dokan-dashboard .dokan-dashboard-content ul.dokan_tabs li {
     6388    margin: auto 0 !important;
     6389    border-bottom: 1px solid #EDEDED;
     6390  }
     6391  .dokan-dashboard .dokan-dash-sidebar ul.dokan_tabs li.active a,
     6392  .dokan-dashboard .dokan-dashboard-content ul.dokan_tabs li.active a {
     6393    border-bottom: 1px solid #EDEDED;
     6394  }
    63766395  .dokan-dashboard .product-edit-new-container .dokan-edit-row .dokan-side-left,
    63776396  .dokan-dashboard .product-edit-new-container .dokan-edit-row .dokan-side-right {
  • dokan-lite/trunk/dokan.php

    r3093058 r3100372  
    44 * Plugin URI: https://dokan.co/wordpress/
    55 * Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
    6  * Version: 3.11.2
     6 * Version: 3.11.3
    77 * Author: weDevs
    88 * Author URI: https://dokan.co/
     
    1010 * Requires Plugins: woocommerce
    1111 * WC requires at least: 8.0.0
    12  * WC tested up to: 8.9.1
     12 * WC tested up to: 8.9.2
    1313 * Domain Path: /languages/
    1414 * License: GPL2
     
    6767     * @var string
    6868     */
    69     public $version = '3.11.2';
     69    public $version = '3.11.3';
    7070
    7171    /**
  • dokan-lite/trunk/includes/Admin/Notices/Helper.php

    r3003600 r3100372  
    117117        }
    118118
    119         if ( ! property_exists( dokan_pro(), 'license' ) ) {
    120             // this is old version of dokan pro
     119        try {
     120            return dokan_pro()->license->is_valid();
     121        } catch ( \Exception $e ) {
    121122            return false;
    122123        }
    123 
    124         $license = dokan_pro()->license->plugin_update_message();
    125         if ( ! empty( $license ) ) {
    126             // if the plugin update message is not empty, then the license is not active
    127             return false;
    128         }
    129 
    130         return true;
    131124    }
    132125
  • dokan-lite/trunk/includes/Admin/functions.php

    r3034469 r3100372  
    110110            GROUP BY {$group_by_query}";
    111111
    112     $data = $wpdb->get_results( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL
     112    $data = $wpdb->get_results( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL, WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    113113
    114114    return apply_filters( 'dokan_get_admin_report_data', $data, $group_by, $year, $start, $end, $seller_id );
     
    434434            GROUP BY $group_by_query";
    435435
    436     $data = $wpdb->get_results( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL
     436    $data = $wpdb->get_results( $sql ); // phpcs:ignore WordPress.DB.PreparedSQL, WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    437437
    438438    // Prepare data for report
  • dokan-lite/trunk/includes/Order/Manager.php

    r3027996 r3100372  
    370370        }
    371371
     372        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    372373        $order_id = $wpdb->get_var( $wpdb->prepare( "SELECT 1 FROM {$wpdb->prefix}dokan_orders WHERE order_id=%d LIMIT 1", $order_id ) );
    373374
     
    388389        global $wpdb;
    389390
    390         return 1 === (int) $wpdb->get_var(
    391                 $wpdb->prepare(
    392                     "SELECT 1 FROM {$wpdb->prefix}dokan_orders WHERE seller_id = %d AND order_id = %d LIMIT 1",
    393                     [ $seller_id, $order_id ]
    394                 )
    395             );
     391        return 1 === (int) $wpdb->get_var( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
     392            $wpdb->prepare(
     393                "SELECT 1 FROM {$wpdb->prefix}dokan_orders WHERE seller_id = %d AND order_id = %d LIMIT 1",
     394                [ $seller_id, $order_id ]
     395            )
     396        );
    396397    }
    397398
     
    488489        }
    489490
     491        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    490492        $deleted = $wpdb->delete( $wpdb->prefix . 'dokan_orders', $where, $where_format );
    491493        if ( false === $deleted ) {
     
    496498
    497499        // delete from dokan refund table -> order_id
    498         $deleted = $wpdb->query(
     500        $deleted = $wpdb->query(  // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    499501            $wpdb->prepare(
    500502                "DELETE FROM `{$wpdb->prefix}dokan_refund` WHERE order_id = %d",
     
    509511
    510512        // delete data from vendor balance table -> trn_id, trn_type: dokan_orders, dokan_refund, dokan_withdraw
    511         $deleted = $wpdb->query(
     513        $deleted = $wpdb->query( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    512514            $wpdb->prepare(
    513515                "DELETE FROM `{$wpdb->prefix}dokan_vendor_balance`
     
    521523
    522524        // delete data from reverse withdrawal table -> order_id, trn_type: order_commission, manual_order_commission, order_refund
    523         $deleted = $wpdb->query(
     525        $deleted = $wpdb->query( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    524526            $wpdb->prepare(
    525527                "DELETE FROM `{$wpdb->prefix}dokan_reverse_withdrawal`
  • dokan-lite/trunk/includes/Order/MiscHooks.php

    r3044820 r3100372  
    5151        if ( $order->get_parent_id() ) {
    5252            global $wpdb;
     53            // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    5354            $wpdb->delete( $wpdb->prefix . 'wc_order_product_lookup', [ 'order_id' => $order->get_id() ] );
     55            // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    5456            $wpdb->delete( $wpdb->prefix . 'wc_order_stats', [ 'order_id' => $order->get_id() ] );
    5557        }
  • dokan-lite/trunk/includes/ProductCategory/Hooks.php

    r2756718 r3100372  
    8585
    8686        while ( null !== $results ) {
    87             $results = $wpdb->get_results(
     87            $results = $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    8888                $wpdb->prepare( "SELECT post_id, meta_value FROM {$wpdb->prefix}postmeta where meta_key='chosen_product_cat' AND meta_value LIKE %s LIMIT %d OFFSET %d", $search_key, $limit, $offset ),
    8989                ARRAY_A
  • dokan-lite/trunk/includes/Registration.php

    r3062535 r3100372  
    5252
    5353        // is the role name allowed or user is trying to manipulate?
    54         if ( isset( $_POST['role'] ) && ! in_array( $_POST['role'], $allowed_roles, true ) ) {
     54        if ( empty( $_POST['role'] ) || ( ! in_array( $_POST['role'], $allowed_roles, true ) ) ) {
    5555            return new WP_Error( 'role-error', __( 'Cheating, eh?', 'dokan-lite' ) );
    5656        }
  • dokan-lite/trunk/includes/ReverseWithdrawal/Manager.php

    r2943006 r3100372  
    557557
    558558        // add data into database
    559         $inserted  = $wpdb->insert( $this->get_table(), $data, $format );
     559        $inserted  = $wpdb->insert( $this->get_table(), $data, $format ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery
    560560        $insert_id = $wpdb->insert_id;
    561561
  • dokan-lite/trunk/includes/Upgrade/Upgrades/BackgroundProcesses/V_2_8_3_VendorBalance.php

    r2790697 r3100372  
    8484        $threshold_day = dokan_get_option( 'withdraw_date_limit', 'dokan_withdraw', 0 );
    8585
    86         $results = $wpdb->get_results(
     86        $results = $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    8787            $wpdb->prepare(
    8888                "SELECT `order`.*, post.post_date from {$wpdb->prefix}dokan_orders as `order` left join {$wpdb->prefix}posts as post on post.ID = order.order_id LIMIT %d OFFSET %d",
     
    128128        $limit   = 100;
    129129        $count   = $limit * $paged;
    130         $results = $wpdb->get_results(
     130        $results = $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    131131            $wpdb->prepare(
    132132                "SELECT * from {$wpdb->prefix}dokan_withdraw WHERE `status` = 1 LIMIT %d OFFSET %d",
     
    167167        global $wpdb;
    168168
    169         $wpdb->insert(
     169        $wpdb->insert( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery
    170170            $wpdb->prefix . 'dokan_vendor_balance', $data,
    171171            array(
  • dokan-lite/trunk/includes/Upgrade/Upgrades/BackgroundProcesses/V_2_9_4_OrderPostAuthor.php

    r2790697 r3100372  
    4545        $limit  = 100;
    4646        $count  = $limit * $paged;
    47         $orders = $wpdb->get_results(
     47        $orders = $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    4848            $wpdb->prepare(
    4949                "SELECT `id`, `post_author` FROM {$wpdb->posts} WHERE `post_type` = 'shop_order' LIMIT %d OFFSET %d",
  • dokan-lite/trunk/includes/Upgrade/Upgrades/V_1_2.php

    r2955180 r3100372  
    2020        global $wpdb;
    2121
    22         $orders = $wpdb->get_results(
     22        $orders = $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    2323            $wpdb->prepare(
    2424                "SELECT oi.order_id, p.ID as product_id, p.post_title, p.post_author as seller_id,
     
    4343        foreach ( $orders as $order ) {
    4444            $net_amount = dokan()->commission->get_earning_by_order( $order->order_id, 'seller' );
    45             $wpdb->insert(
     45            $wpdb->insert( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery
    4646                $table_name,
    4747                [
  • dokan-lite/trunk/includes/Upgrade/Upgrades/V_2_9_13.php

    r2790697 r3100372  
    1717        $map_table = $wpdb->prefix . 'dokan_product_map';
    1818
     19        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    1920        if ( $wpdb->get_var( $wpdb->prepare( 'show tables like %s', $map_table ) ) !== $map_table ) {
    2021            return;
  • dokan-lite/trunk/includes/Upgrade/Upgrades/V_2_9_4.php

    r2790697 r3100372  
    3636        $table_name = $wpdb->prefix . 'dokan_refund';
    3737
     38        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange
    3839        if ( $wpdb->get_var( $wpdb->prepare( 'SHOW TABLES LIKE %s', $table_name ) ) !== $table_name ) {
    3940            return;
  • dokan-lite/trunk/includes/Upgrade/Upgrades/V_3_0_4.php

    r2790697 r3100372  
    3636            $table_name = $wpdb->prefix . $table;
    3737
     38            // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    3839            if ( $wpdb->get_var( $wpdb->prepare( 'SHOW TABLES LIKE %s', $table_name ) ) !== $table_name ) {
    3940                continue;
     
    4142
    4243            foreach ( $columns as $column ) {
    43                 $wpdb->query( "ALTER TABLE `{$table_name}` MODIFY COLUMN `{$column}` DECIMAL(19,4)" ); // phpcs:ignore
     44                // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange, WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder
     45                $wpdb->query( $wpdb->prepare( 'ALTER TABLE %i MODIFY COLUMN %i DECIMAL(19,4)', $table_name, $column ) );
    4446            }
    4547        }
  • dokan-lite/trunk/includes/Upgrade/Upgrades/V_3_2_12.php

    r2597725 r3100372  
    2020        $map_table = $wpdb->prefix . 'dokan_withdraw';
    2121
     22        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    2223        if ( $wpdb->get_var( $wpdb->prepare( 'show tables like %s', $map_table ) ) !== $map_table ) {
    2324            return;
     
    3233        );
    3334
     35        $column = 'details';
     36        $after = 'note';
     37
    3438        if ( empty( $columns ) ) {
    35             $wpdb->query(
    36                 "alter table {$map_table} add column details longtext NOT NULL AFTER note" // phpcs:ignore
    37             );
     39            // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange, WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder
     40            $wpdb->query( $wpdb->prepare( 'alter table %i add column %i longtext NOT NULL AFTER %i', $map_table, $column, $after ) );
    3841        }
    3942    }
  • dokan-lite/trunk/includes/Upgrade/Upgrades/V_3_3_1.php

    r2790697 r3100372  
    1919        include_once ABSPATH . 'wp-admin/includes/upgrade.php';
    2020
     21        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    2122        $existing_columns = $wpdb->get_col( "DESC `{$wpdb->prefix}dokan_withdraw`", 0 );
    2223
     
    2526        }
    2627
    27         $wpdb->query(
    28             "ALTER TABLE `{$wpdb->prefix}dokan_withdraw` ADD COLUMN `details` longtext AFTER `note`" // phpcs:ignore
    29         );
     28        $table = $wpdb->prefix . 'dokan_withdraw';
     29        $column = 'details';
     30        $after = 'note';
     31
     32        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange, WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder
     33        $wpdb->query( $wpdb->prepare( 'ALTER TABLE %i ADD COLUMN %i longtext AFTER %i', $table, $column, $after ) );
    3034    }
    3135
     
    4246        include_once ABSPATH . 'wp-admin/includes/upgrade.php';
    4347
     48        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    4449        $existing_columns = $wpdb->get_results( "DESC `{$wpdb->prefix}dokan_refund`" );
    4550
    4651        foreach ( (array) $existing_columns as $existing_column ) {
    4752            if ( in_array( $existing_column->Field, [ 'item_totals', 'item_tax_totals' ], true ) && 'text' !== $existing_column->Type ) { // phpcs:ignore
    48                 $wpdb->query(
    49                     "ALTER TABLE `{$wpdb->prefix}dokan_refund` MODIFY COLUMN {$existing_column->Field} text" // phpcs:ignore
    50                 );
     53                $table  = $wpdb->prefix . 'dokan_refund';
     54                $column = $existing_column->Field; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
     55
     56                // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange, WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder
     57                $wpdb->query( $wpdb->prepare( 'ALTER TABLE %i MODIFY COLUMN %i text', $table, $column ) );
    5158            }
    5259        }
  • dokan-lite/trunk/includes/Upgrade/Upgrades/V_3_3_7.php

    r2672234 r3100372  
    1818        global $wpdb;
    1919
     20        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    2021        $existing_columns = $wpdb->get_results( "DESC `{$wpdb->prefix}dokan_withdraw`" );
    2122
    2223        foreach ( (array) $existing_columns as $existing_column ) {
    2324            if ( 'details' === $existing_column->Field && 'NO' === $existing_column->Null ) { // phpcs:ignore
    24                 $wpdb->query(
    25                     "ALTER TABLE `{$wpdb->prefix}dokan_withdraw` MODIFY COLUMN {$existing_column->Field} longtext NULL" // phpcs:ignore
    26                 );
     25                $table = $wpdb->prefix . 'dokan_withdraw';
     26                $column = $existing_column->Field; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
     27
     28                // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.DB.DirectDatabaseQuery.SchemaChange, WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder
     29                $wpdb->query( $wpdb->prepare( 'ALTER TABLE %i MODIFY COLUMN %i longtext NULL', $table, $column ) );
    2730            }
    2831        }
  • dokan-lite/trunk/includes/functions-compatibility.php

    r2955180 r3100372  
    198198    if ( ! empty( $new_download_ids ) || ! empty( $removed_download_ids ) ) {
    199199        // determine whether downloadable file access has been granted via the typical order completion, or via the admin ajax method
    200         $existing_permissions = $wpdb->get_results( $wpdb->prepare( "SELECT * from {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE product_id = %d GROUP BY order_id", $product_id ) );
     200        $existing_permissions = $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
     201            $wpdb->prepare(
     202                "SELECT * from {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE product_id = %d GROUP BY order_id",
     203                $product_id
     204            )
     205        );
    201206
    202207        foreach ( $existing_permissions as $existing_permission ) {
     
    208213                    foreach ( $removed_download_ids as $download_id ) {
    209214                        if ( apply_filters( 'woocommerce_process_product_file_download_paths_remove_access_to_old_file', true, $download_id, $product_id, $order ) ) {
    210                             $wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE order_id = %d AND product_id = %d AND download_id = %s", $order->get_id(), $product_id, $download_id ) );
     215                            $wpdb->query( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
     216                                $wpdb->prepare(
     217                                    "DELETE FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE order_id = %d AND product_id = %d AND download_id = %s", $order->get_id(),
     218                                    $product_id,
     219                                    $download_id
     220                                )
     221                            );
    211222                        }
    212223                    }
     
    217228                        if ( apply_filters( 'woocommerce_process_product_file_download_paths_grant_access_to_new_file', true, $download_id, $product_id, $order ) ) {
    218229                            // grant permission if it doesn't already exist
    219                             if ( ! $wpdb->get_var( $wpdb->prepare( "SELECT 1=1 FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE order_id = %d AND product_id = %d AND download_id = %s", $order->get_id(), $product_id, $download_id ) ) ) {
     230                            if (
     231                                ! $wpdb->get_var( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
     232                                    $wpdb->prepare(
     233                                        "SELECT 1=1 FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE order_id = %d AND product_id = %d AND download_id = %s",
     234                                        $order->get_id(),
     235                                        $product_id,
     236                                        $download_id
     237                                    )
     238                                )
     239                            ) {
    220240                                wc_downloadable_file_permission( $download_id, $product_id, $order );
    221241                            }
  • dokan-lite/trunk/languages/dokan-lite.pot

    r3093058 r3100372  
    22msgid ""
    33msgstr ""
    4 "Project-Id-Version: Dokan 3.11.2\n"
     4"Project-Id-Version: Dokan 3.11.3\n"
    55"Report-Msgid-Bugs-To: https://dokan.co/contact/\n"
    66"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    99"Content-Type: text/plain; charset=UTF-8\n"
    1010"Content-Transfer-Encoding: 8bit\n"
    11 "POT-Creation-Date: 2024-05-27T10:12:19+00:00\n"
     11"POT-Creation-Date: 2024-06-07T09:14:47+00:00\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1313"X-Generator: WP-CLI 2.9.0\n"
     
    16071607#: templates/products/products-listing-row.php:67
    16081608#: templates/products/products-listing.php:121
    1609 #: templates/sub-orders.php:45
     1609#: templates/sub-orders.php:47
    16101610#: templates/withdraw/pending-request-listing-dashboard.php:25
    16111611#: templates/withdraw/pending-request-listing.php:20
     
    16321632#: templates/products/products-listing.php:130
    16331633#: templates/reverse-withdrawal/transaction-listing.php:19
    1634 #: templates/sub-orders.php:44
     1634#: templates/sub-orders.php:46
    16351635#: templates/withdraw/approved-request-listing.php:20
    16361636#: templates/withdraw/cancelled-request-listing.php:20
     
    19311931#: templates/orders/listing.php:20
    19321932#: templates/products/products-listing.php:108
    1933 #: templates/store-lists-filter.php:87
     1933#: templates/store-lists-filter.php:84
    19341934#: assets/js/vue-admin.js:2
    19351935msgid "Apply"
     
    20312031#: templates/products/tmpl-add-product-popup.php:68
    20322032#: templates/settings/bank-payment-method-settings.php:203
    2033 #: templates/store-lists-filter.php:86
     2033#: templates/store-lists-filter.php:83
    20342034#: templates/withdraw/pending-request-listing-dashboard.php:24
    20352035#: templates/withdraw/pending-request-listing-dashboard.php:46
     
    37523752#: templates/orders/listing.php:30
    37533753#: templates/orders/listing.php:57
    3754 #: templates/sub-orders.php:43
     3754#: templates/sub-orders.php:45
    37553755#: assets/js/vue-admin.js:2
    37563756msgid "Order"
     
    45104510#: templates/my-orders.php:101
    45114511#: templates/orders/listing.php:150
    4512 #: templates/sub-orders.php:96
     4512#: templates/sub-orders.php:99
    45134513msgid "View"
    45144514msgstr ""
     
    46974697#: templates/my-orders.php:28
    46984698#: templates/orders/order-fee-html.php:24
    4699 #: templates/sub-orders.php:49
     4699#: templates/sub-orders.php:51
    47004700msgid "Total"
    47014701msgstr ""
     
    85528552#. translators: 1) order total amount 2) order item count
    85538553#: templates/my-orders.php:63
    8554 #: templates/sub-orders.php:85
     8554#: templates/sub-orders.php:88
    85558555msgid "%1$s for %2$s item"
    85568556msgid_plural "%1$s for %2$s items"
     
    87518751
    87528752#: templates/orders/listing.php:37
    8753 #: templates/sub-orders.php:47
     8753#: templates/sub-orders.php:49
    87548754msgid "Shipment"
    87558755msgstr ""
     
    87868786
    87878787#: templates/orders/listing.php:116
    8788 #: templates/sub-orders.php:76
     8788#: templates/sub-orders.php:79
    87898789msgid "Shipping Status"
    87908790msgstr ""
     
    94859485msgstr ""
    94869486
    9487 #: templates/store-lists-filter.php:77
     9487#: templates/store-lists-filter.php:74
    94889488#: assets/js/vue-admin.js:2
    94899489msgid "Search Vendors"
     
    95329532msgstr ""
    95339533
    9534 #: templates/sub-orders.php:33
     9534#: templates/sub-orders.php:34
    95359535msgid "This order has products from multiple vendors. So we divided this order into multiple vendor orders. Each order will be handled by their respective vendor independently."
    95369536msgstr ""
  • dokan-lite/trunk/readme.txt

    r3093058 r3100372  
    1 === Dokan - Best WooCommerce Multivendor Marketplace Solution - Build Your Own Amazon, eBay, Etsy ===
     1=== Dokan - Powerful WooCommerce Multivendor Marketplace Solution - Build Your Own Amazon, eBay, Etsy ===
    22Contributors: tareq1988, wedevs, nizamuddinbabu
    33Donate Link: http://tareq.co/donate/
    44Tags: WooCommerce multivendor marketplace, multivendor marketplace, multivendor, multi seller, multi vendor, WooCommerce marketplace, WooCommerce product vendors
    55Requires at least: 6.4
    6 Tested up to: 6.5.3
     6Tested up to: 6.5.4
    77WC requires at least: 8.0.0
    8 WC tested up to: 8.9.1
     8WC tested up to: 8.9.2
    99Requires PHP: 7.4
    10 Stable tag: 3.11.2
     10Stable tag: 3.11.3
    1111License: GPLv2 or later
    1212License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1313
    14 Transform your WooCommerce site into a robust multivendor marketplace with Dokan - the #1 WooCommerce multivendor marketplace solution!
     14Transform your WooCommerce site into a multivendor marketplace with Dokan - a powerful and advanced WooCommerce multivendor marketplace solution
    1515
    1616== Description ==
     
    348348== Changelog ==
    349349
     350= v3.11.3 ( Jun 10, 2024 ) =
     351
     352- **fix:** Responsive issue on vendor dashboard tabs preview.
     353
    350354= v3.11.2 ( May 27, 2024 ) =
    351355
  • dokan-lite/trunk/templates/emails/plain/new-seller-registered.php

    r3062535 r3100372  
    2929
    3030// translators: 1) seller name
    31 echo sprintf( esc_html__( 'Vendor: %s', 'dokan-lite' ), esc_html( $data['{seller_name}'] ) );
     31printf( esc_html__( 'Vendor: %s', 'dokan-lite' ), esc_html( $data['{seller_name}'] ) );
    3232echo " \n";
    3333
    3434// translators: 1) store name
    35 echo sprintf( esc_html__( 'Vendor Store: %s', 'dokan-lite' ), $data['{store_name}'] );
     35printf( esc_html__( 'Vendor Store: %s', 'dokan-lite' ), esc_html( $data['{store_name}'] ) );
    3636echo " \n";
    3737
    3838// translators: 1) seller edit url
    39 echo sprintf( esc_html__( 'To edit vendor access and details visit : %s', 'dokan-lite' ), esc_url( $data['{seller_edit}'] ) );
     39printf( esc_html__( 'To edit vendor access and details visit : %s', 'dokan-lite' ), esc_url( $data['{seller_edit}'] ) );
    4040
    4141echo "\n\n----------------------------------------\n\n";
  • dokan-lite/trunk/templates/emails/plain/reverse-withdrawal-invoice.php

    r2790697 r3100372  
    2525
    2626// translators: 1) store name
    27 printf( esc_html__( 'Hi %s,\n\n', 'dokan-lite' ), $seller_info->get_shop_name() );
     27printf( esc_html__( 'Hi %s,\n\n', 'dokan-lite' ), esc_html( $seller_info->get_shop_name() ) );
    2828
    2929// translators: 1) invoice month 2) invoice year 3) store name
    30 printf( esc_html__( 'Your %1$s %2$s invoice is now available for store: %3$s.\n\n', 'dokan-lite' ), $data['{month}'], $data['{year}'], $seller_info->get_shop_name() );
     30printf( esc_html__( 'Your %1$s %2$s invoice is now available for store: %3$s.\n\n', 'dokan-lite' ), esc_html( $data['{month}'] ), esc_html( $data['{year}'] ), esc_html( $seller_info->get_shop_name() ) );
    3131
    3232// translators: 1) store name
    33 printf( esc_html__( 'Summary for %1$s: \n\n', 'dokan-lite' ), $seller_info->get_shop_name() );
     33printf( esc_html__( 'Summary for %1$s: \n\n', 'dokan-lite' ), esc_html( $seller_info->get_shop_name() ) );
    3434
    3535// translators: 1) invoice month 2) invoice year 3) due balance amount
    36 printf( esc_html__( 'Reverse withdrawal charges for %1$s %2$s: %3$s \n\n', 'dokan-lite' ), $data['{month}'], $data['{year}'], wc_price( $due_status['balance']['payable_amount'] ) );
     36printf( esc_html__( 'Reverse withdrawal charges for %1$s %2$s: %3$s \n\n', 'dokan-lite' ), esc_html( $data['{month}'] ), esc_html( $data['{year}'] ), esc_html( wc_price( $due_status['balance']['payable_amount'] ) ) );
    3737
    3838// translators: 1) invoice due date
    39 printf( esc_html__( 'Due Date %1$s: \n\n', 'dokan-lite' ), 'immediate' === $due_status['due_date'] ? ucfirst( $due_status['due_date'] ) : dokan_format_date( $due_status['due_date'] ) );
     39printf( esc_html__( 'Due Date %1$s: \n\n', 'dokan-lite' ), 'immediate' === $due_status['due_date'] ? esc_html( ucfirst( $due_status['due_date'] ) ) : esc_html( dokan_format_date( $due_status['due_date'] ) ) );
    4040
    4141printf(
  • dokan-lite/trunk/templates/emails/plain/vendor-completed-order.php

    r3062535 r3100372  
    1818
    1919// translators: 1) order billing full name
    20 echo sprintf( __( 'You have received complete order from %s.', 'dokan-lite' ), $order->get_formatted_billing_full_name() ) . "\n\n";
     20echo sprintf( esc_html__( 'You have received complete order from %s.', 'dokan-lite' ), esc_html( $order->get_formatted_billing_full_name() ) ) . "\n\n";
    2121echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
    2222
  • dokan-lite/trunk/templates/emails/plain/vendor-new-order.php

    r3062535 r3100372  
    1818
    1919// translators: 1) order billing full name
    20 echo sprintf( __( 'You have received an order from %s.', 'dokan-lite' ), $order->get_formatted_billing_full_name() ) . "\n\n";
     20echo sprintf( esc_html__( 'You have received an order from %s.', 'dokan-lite' ), esc_html( $order->get_formatted_billing_full_name() ) ) . "\n\n";
    2121echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
    2222
  • dokan-lite/trunk/templates/emails/plain/vendor-product-review.php

    r3062535 r3100372  
    2626// translators: 1) product name, 2) customer name, 3) rating
    2727    esc_html__( 'We are happy to inform you that your product %1$s has received a new review on our website. The review was written by %2$s and has a rating of %3$s out of 5 stars.', 'dokan-lite' ),
    28     $data['{product_name}'],
    29     $data['{customer_name}'],
    30     $data['{rating}']
     28    esc_html( $data['{product_name}'] ),
     29    esc_html( $data['{customer_name}'] ),
     30    esc_html( $data['{rating}'] )
    3131);
    3232echo " \n\n";
  • dokan-lite/trunk/templates/emails/product-published.php

    r3062535 r3100372  
    1717    <?php
    1818    // translators: 1) seller name
    19     echo sprintf( __( 'Hello %s', 'dokan-lite' ), esc_html( $data['{store_name}'] ) );
     19    printf( esc_html__( 'Hello %s', 'dokan-lite' ), esc_html( $data['{store_name}'] ) );
    2020    ?>
    2121</p>
  • dokan-lite/trunk/templates/emails/reverse-withdrawal-invoice.php

    r2790697 r3100372  
    3030<p>
    3131    <?php
    32     echo sprintf(
     32    printf(
    3333        // translators: 1) invoice month 2) invoice year 3) store name
    3434        esc_html__( 'Your %1$s %2$s invoice is now available for store: %3$s.', 'dokan-lite' ),
     
    4343            <?php
    4444            // translators: 1) store name
    45             printf( esc_html__( 'Summary for %1$s: ', 'dokan-lite' ), $seller_info->get_shop_name() );
     45            printf( esc_html__( 'Summary for %1$s: ', 'dokan-lite' ), esc_html( $seller_info->get_shop_name() ) );
    4646            ?>
    4747        </strong>
     
    6363            <?php esc_html_e( 'Due Date: ', 'dokan-lite' ); ?>
    6464        </strong>
    65         <?php echo 'immediate' === $due_status['due_date'] ? ucfirst( $due_status['due_date'] ) : dokan_format_date( $due_status['due_date'] ); ?>
     65        <?php echo 'immediate' === $due_status['due_date'] ? esc_html( ucfirst( $due_status['due_date'] ) ) : esc_html( dokan_format_date( $due_status['due_date'] ) ); ?>
    6666    </li>
    6767</ul>
  • dokan-lite/trunk/templates/emails/vendor-completed-order.php

    r3062535 r3100372  
    3535        <?php
    3636        // translators: 1) order billing full name
    37         printf( __( 'You have received complete order from %s.', 'dokan-lite' ), esc_html( $order->get_formatted_billing_full_name() ) );
     37        printf( esc_html__( 'You have received complete order from %s.', 'dokan-lite' ), esc_html( $order->get_formatted_billing_full_name() ) );
    3838        ?>
    3939    </p>
     
    7878                $i = 0;
    7979                foreach ( $item_totals as $total ) {
    80                     $i ++;
     80                    ++$i;
    8181                    ?>
    8282                    <tr>
  • dokan-lite/trunk/templates/emails/vendor-new-order.php

    r3062535 r3100372  
    3434        <?php
    3535        // translators: 1) order formatted billing full name
    36         printf( __( 'You have received an order from %s.', 'dokan-lite' ), $order->get_formatted_billing_full_name() );
     36        printf( esc_html__( 'You have received an order from %s.', 'dokan-lite' ), esc_html( $order->get_formatted_billing_full_name() ) );
    3737        ?>
    3838    </p>
     
    7979                $i = 0;
    8080                foreach ( $item_totals as $total ) {
    81                     $i ++;
     81                    ++$i;
    8282                    ?>
    8383                    <tr>
  • dokan-lite/trunk/templates/emails/vendor-product-review.php

    r3062535 r3100372  
    2626                __( 'We are happy to inform you that your product <strong>%1$s</strong> has received a new review on our website. The review was written by <strong>%2$s</strong> and has a rating of <strong>%3$s</strong> out of 5 stars.', 'dokan-lite' )
    2727            ),
    28             $data['{product_name}'],
    29             $data['{customer_name}'],
    30             $data['{rating}']
     28            esc_html( $data['{product_name}'] ),
     29            esc_html( $data['{customer_name}'] ),
     30            esc_html( $data['{rating}'] )
    3131        );
    3232        ?>
     
    4343            '<a href="%1$s">%2$s</a>',
    4444            esc_url( $data['{review_link}'] ),
    45             $data['{product_name}']
     45            esc_html( $data['{product_name}'] )
    4646        );
    4747        ?>
  • dokan-lite/trunk/templates/my-orders.php

    r2955180 r3100372  
    5050                <td class="order-date">
    5151                    <time datetime="<?php echo esc_attr( $order_date->format( 'Y-m-dTH:i:s' ) ); ?>">
    52                         <?php echo dokan_format_date( $order_date ); ?>
     52                        <?php echo esc_html( dokan_format_date( $order_date ) ); ?>
    5353                    </time>
    5454                </td>
  • dokan-lite/trunk/templates/reverse-withdrawal/transaction-listing.php

    r2790697 r3100372  
    3838                    <?php
    3939                    // translators: 1) transaction url 2) transaction id
    40                     echo sprintf( '<a href="%1$s" target="_blank">%2$s</a>', $transaction['trn_url'], $transaction['trn_id'] )
     40                    printf( '<a href="%1$s" target="_blank">%2$s</a>', esc_url( $transaction['trn_url'] ), esc_html( $transaction['trn_id'] ) )
    4141                    ?>
    4242                </td>
     
    4444                <td><?php echo esc_html( $transaction['trn_type'] ); ?></td>
    4545                <td><?php echo esc_html( $transaction['note'] ); ?></td>
    46                 <td><?php echo $transaction['debit'] === '' ? '--' : wc_price( $transaction['debit'] ); ?></td>
    47                 <td><?php echo $transaction['credit'] === '' ? '--' : wc_price( $transaction['credit'] ); ?></td>
     46                <td><?php echo $transaction['debit'] === '' ? '--' : wp_kses_post( wc_price( $transaction['debit'] ) ); ?></td>
     47                <td><?php echo $transaction['credit'] === '' ? '--' : wp_kses_post( wc_price( $transaction['credit'] ) ); ?></td>
    4848                <td>
    49                     <?php echo $transaction['balance'] < 0 ? sprintf( '(%1$s)', wc_price( abs( $transaction['balance'] ) ) ) : wc_price( $transaction['balance'] ); ?>
     49                    <?php echo $transaction['balance'] < 0 ? sprintf( '(%1$s)', wp_kses_post( wc_price( abs( $transaction['balance'] ) ) ) ) : wp_kses_post( wc_price( $transaction['balance'] ) ); ?>
    5050                </td>
    5151            </tr>
     
    6161                <td></td>
    6262                <td><b><?php esc_html_e( 'Balance:', 'dokan-lite' ); ?></b></td>
    63                 <td><b><?php echo wc_price( $current_balance ); ?></b></td>
     63                <td><b><?php echo wp_kses_post( wc_price( $current_balance ) ); ?></b></td>
    6464            </tr>
    6565            <?php
  • dokan-lite/trunk/templates/store-lists-filter.php

    r3034469 r3100372  
    2626            <?php
    2727            // translators: 1) number of stores
    28             printf( _n( 'Total store showing: %s', 'Total stores showing: %s', $number_of_store, 'dokan-lite' ), number_format_i18n( $number_of_store ) );
     28            printf( esc_html( _n( 'Total store showing: %s', 'Total stores showing: %s', $number_of_store, 'dokan-lite' ) ), esc_html( number_format_i18n( $number_of_store ) ) );
    2929            ?>
    3030        </p>
     
    4949
    5050            <select name="stores_orderby" id="stores_orderby" aria-label="<?php esc_html_e( 'Sort by', 'dokan-lite' ); ?>">
    51                 <?php
    52                 foreach ( $sort_filters as $key => $filter ) {
    53                     $optoins = "<option value='{$key}'" . selected( $sort_by, $key, false ) . ">{$filter}</option>";
    54                     printf( $optoins );
    55                 }
    56                 ?>
     51                <?php foreach ( $sort_filters as $key => $filter ) : ?>
     52                    <option value="<?php echo esc_attr( $key ); ?>" <?php selected( $sort_by, $key ); ?> ><?php echo esc_html( $filter ); ?></option>
     53                <?php endforeach; ?>
    5754            </select>
    5855        </form>
  • dokan-lite/trunk/templates/sub-orders.php

    r2955180 r3100372  
    2929     * @args array $statuses
    3030     */
    31     echo apply_filters(
    32         'dokan_suborder_notice_to_customer',
    33         esc_html__(
    34             'This order has products from multiple vendors. So we divided this order into multiple vendor orders. Each order will be handled by their respective vendor independently.', 'dokan-lite'
    35         ), $parent_order, $sub_orders, $statuses
     31    echo esc_html(
     32        apply_filters(
     33            'dokan_suborder_notice_to_customer',
     34            esc_html__(
     35                'This order has products from multiple vendors. So we divided this order into multiple vendor orders. Each order will be handled by their respective vendor independently.', 'dokan-lite'
     36            ), $parent_order, $sub_orders, $statuses
     37        )
    3638    );
    3739    ?>
     
    5456    <?php
    5557    $now = dokan_current_datetime();
     58    // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
    5659    foreach ( $sub_orders as $order ) {
    5760        $item_count = $order->get_item_count();
     
    6164            <tr class="order">
    6265                <td class="order-number">
    63                     <a href="<?php echo esc_url(  is_callable( [ $order, 'get_view_order_url' ] ) ? $order->get_view_order_url() : '#' ); ?>">
     66                    <a href="<?php echo esc_url( is_callable( [ $order, 'get_view_order_url' ] ) ? $order->get_view_order_url() : '#' ); ?>">
    6467                        <?php echo esc_html( $order->get_order_number() ); ?>
    6568                    </a>
     
    7578                <?php if ( function_exists( 'dokan_get_order_shipment_current_status' ) && 'on' === $allow_shipment && $wc_shipping_enabled ) : ?>
    7679                    <td class="dokan-order-shipping-status" data-title="<?php esc_attr_e( 'Shipping Status', 'dokan-lite' ); ?>" >
    77                         <?php echo dokan_get_order_shipment_current_status( $order->get_id() ); ?>
     80                        <?php echo wp_kses_post( dokan_get_order_shipment_current_status( $order->get_id() ) ); ?>
    7881                    </td>
    7982                <?php endif; ?>
  • dokan-lite/trunk/templates/vendor-store-info.php

    r3093058 r3100372  
    3030        <?php if ( $store_rating['count'] ) : ?>
    3131            <?php // translators: %d reviews count ?>
    32             <p class="dokan-ratings-count">(<?php echo sprintf( _n( '%s Review', '%s Reviews', $store_rating['count'], 'dokan-lite' ), number_format_i18n( $store_rating['count'] ) ); ?>)</p>
     32            <p class="dokan-ratings-count">(<?php echo esc_html( sprintf( _n( '%s Review', '%s Reviews', $store_rating['count'], 'dokan-lite' ), esc_html( number_format_i18n( $store_rating['count'] ) ) ) ); ?>)</p>
    3333        <?php endif; ?>
    3434    </div>
  • dokan-lite/trunk/templates/whats-new.php

    r3093058 r3100372  
    44 */
    55$changelog = [
     6    [
     7        'version'  => 'Version 3.11.3',
     8        'released' => '2024-06-10',
     9        'changes'  => [
     10            'Fix'         => [
     11                [
     12                    'title'       => 'Responsive issue on vendor dashboard tabs preview.',
     13                    'description' => '',
     14                ],
     15            ],
     16        ],
     17    ],
    618    [
    719        'version'  => 'Version 3.11.2',
  • dokan-lite/trunk/vendor/autoload.php

    r3093058 r3100372  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit3f18ffec2167effd2a2e4b538f6de8ea::getLoader();
     7return ComposerAutoloaderInit2ebc7e183979b542a8bff98e729fa400::getLoader();
  • dokan-lite/trunk/vendor/composer/autoload_real.php

    r3093058 r3100372  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit3f18ffec2167effd2a2e4b538f6de8ea
     5class ComposerAutoloaderInit2ebc7e183979b542a8bff98e729fa400
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit3f18ffec2167effd2a2e4b538f6de8ea', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit2ebc7e183979b542a8bff98e729fa400', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit3f18ffec2167effd2a2e4b538f6de8ea', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit2ebc7e183979b542a8bff98e729fa400', 'loadClassLoader'));
    3030
    3131        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3333            require __DIR__ . '/autoload_static.php';
    3434
    35             call_user_func(\Composer\Autoload\ComposerStaticInit3f18ffec2167effd2a2e4b538f6de8ea::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInit2ebc7e183979b542a8bff98e729fa400::getInitializer($loader));
    3636        } else {
    3737            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5454
    5555        if ($useStaticLoader) {
    56             $includeFiles = Composer\Autoload\ComposerStaticInit3f18ffec2167effd2a2e4b538f6de8ea::$files;
     56            $includeFiles = Composer\Autoload\ComposerStaticInit2ebc7e183979b542a8bff98e729fa400::$files;
    5757        } else {
    5858            $includeFiles = require __DIR__ . '/autoload_files.php';
    5959        }
    6060        foreach ($includeFiles as $fileIdentifier => $file) {
    61             composerRequire3f18ffec2167effd2a2e4b538f6de8ea($fileIdentifier, $file);
     61            composerRequire2ebc7e183979b542a8bff98e729fa400($fileIdentifier, $file);
    6262        }
    6363
     
    7171 * @return void
    7272 */
    73 function composerRequire3f18ffec2167effd2a2e4b538f6de8ea($fileIdentifier, $file)
     73function composerRequire2ebc7e183979b542a8bff98e729fa400($fileIdentifier, $file)
    7474{
    7575    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • dokan-lite/trunk/vendor/composer/autoload_static.php

    r3093058 r3100372  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit3f18ffec2167effd2a2e4b538f6de8ea
     7class ComposerStaticInit2ebc7e183979b542a8bff98e729fa400
    88{
    99    public static $files = array (
     
    291291    {
    292292        return \Closure::bind(function () use ($loader) {
    293             $loader->prefixLengthsPsr4 = ComposerStaticInit3f18ffec2167effd2a2e4b538f6de8ea::$prefixLengthsPsr4;
    294             $loader->prefixDirsPsr4 = ComposerStaticInit3f18ffec2167effd2a2e4b538f6de8ea::$prefixDirsPsr4;
    295             $loader->classMap = ComposerStaticInit3f18ffec2167effd2a2e4b538f6de8ea::$classMap;
     293            $loader->prefixLengthsPsr4 = ComposerStaticInit2ebc7e183979b542a8bff98e729fa400::$prefixLengthsPsr4;
     294            $loader->prefixDirsPsr4 = ComposerStaticInit2ebc7e183979b542a8bff98e729fa400::$prefixDirsPsr4;
     295            $loader->classMap = ComposerStaticInit2ebc7e183979b542a8bff98e729fa400::$classMap;
    296296
    297297        }, null, ClassLoader::class);
Note: See TracChangeset for help on using the changeset viewer.