From 5c20890ea3e53daaf0e4e5bf8beb78c1debe8f14 Mon Sep 17 00:00:00 2001 From: Shazahanul Islam Shohag Date: Mon, 23 Sep 2024 12:19:06 +0600 Subject: [PATCH] chore: Release Version 3.12.2 --- README.md | 13 +- composer.json | 2 +- composer.lock | 90 +++++------ dokan.php | 6 +- includes/Order/Hooks.php | 8 +- languages/dokan-lite.pot | 318 ++++++++++++++++++++------------------- package-lock.json | 98 ++++++------ package.json | 2 +- readme.txt | 13 +- templates/whats-new.php | 20 +++ 10 files changed, 311 insertions(+), 259 deletions(-) diff --git a/README.md b/README.md index 59f43b684..a33afcc7e 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,11 @@ **Donate Link:** http://tareq.co/donate/ **Tags:** WooCommerce multivendor marketplace, multivendor marketplace, multivendor, multi seller, multi vendor, WooCommerce marketplace, WooCommerce product vendors **Requires at least:** 6.4 -**Tested up to:** 6.6.1 +**Tested up to:** 6.6.2 **WC requires at least:** 8.0.0 -**WC tested up to:** 9.2.3 +**WC tested up to:** 9.3.2 **Requires PHP:** 7.4 -**Stable tag:** 3.12.1 +**Stable tag:** 3.12.2 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -346,6 +346,13 @@ A. Just install and activate the PRO version without deleting the free plugin. A ## Changelog ## + +### v3.12.2 ( Sep 23, 2024 ) ### + +- **fix:** Product gallery image uploader close button style fix. +- **fix:** Fix incorrect sub-order status updates when the main order status changed specifically for cancelled sub-orders. +- **fix:** Fixed vendor coupon validation for various discount item types. + ### v3.12.1 ( Aug 30, 2024 ) ### - **fix:** Resolve fatal error when updating Dokan Lite to 3.12.0 with Dokan Pro 3.9.7. diff --git a/composer.json b/composer.json index 74e35928f..bfcbbb1e5 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "php": ">=7.4", "appsero/client": "^v2.0.2", "jakeasmith/http_build_url": "^1", - "appsero/updater": "^v2.2.0" + "appsero/updater": "^v2.3.0" }, "require-dev": { "wp-coding-standards/wpcs": "dev-develop", diff --git a/composer.lock b/composer.lock index d881ed715..64fa4ef4f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "21ceb0568ba1a5875aa14f72b01f0fbe", + "content-hash": "85da992aa34ef2564d3d8cca7fe129a8", "packages": [ { "name": "appsero/client", - "version": "v2.0.2", + "version": "v2.0.3", "source": { "type": "git", "url": "https://github.com/Appsero/client.git", - "reference": "b61c3ab21df4d44f805ee9476f9d880f8370a36b" + "reference": "575ecd2ddb3900bd2626771f12d5723b69175b60" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Appsero/client/zipball/b61c3ab21df4d44f805ee9476f9d880f8370a36b", - "reference": "b61c3ab21df4d44f805ee9476f9d880f8370a36b", + "url": "https://api.github.com/repos/Appsero/client/zipball/575ecd2ddb3900bd2626771f12d5723b69175b60", + "reference": "575ecd2ddb3900bd2626771f12d5723b69175b60", "shasum": "" }, "require": { @@ -56,22 +56,22 @@ ], "support": { "issues": "https://github.com/Appsero/client/issues", - "source": "https://github.com/Appsero/client/tree/v2.0.2" + "source": "https://github.com/Appsero/client/tree/v2.0.3" }, - "time": "2024-01-30T08:15:01+00:00" + "time": "2024-09-18T04:41:01+00:00" }, { "name": "appsero/updater", - "version": "v2.2.0", + "version": "v2.3.0", "source": { "type": "git", "url": "https://github.com/Appsero/updater.git", - "reference": "58be2387dea35ffbca41970186d2251a00b2c44a" + "reference": "937c658f8a41b7739c5f4915f2a110aa6bf778da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Appsero/updater/zipball/58be2387dea35ffbca41970186d2251a00b2c44a", - "reference": "58be2387dea35ffbca41970186d2251a00b2c44a", + "url": "https://api.github.com/repos/Appsero/updater/zipball/937c658f8a41b7739c5f4915f2a110aa6bf778da", + "reference": "937c658f8a41b7739c5f4915f2a110aa6bf778da", "shasum": "" }, "type": "library", @@ -93,9 +93,9 @@ "description": "Appsero client updater module", "support": { "issues": "https://github.com/Appsero/updater/issues", - "source": "https://github.com/Appsero/updater/tree/v2.2.0" + "source": "https://github.com/Appsero/updater/tree/v2.3.0" }, - "time": "2024-08-22T09:23:04+00:00" + "time": "2024-09-06T04:30:41+00:00" }, { "name": "jakeasmith/http_build_url", @@ -190,12 +190,12 @@ "source": { "type": "git", "url": "https://github.com/Brain-WP/BrainMonkey.git", - "reference": "560355db29e7acef0a9f2ae591dbd4e9bf590b50" + "reference": "d95a9d895352c30f47604ad1b825ab8fa9d1a373" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Brain-WP/BrainMonkey/zipball/560355db29e7acef0a9f2ae591dbd4e9bf590b50", - "reference": "560355db29e7acef0a9f2ae591dbd4e9bf590b50", + "url": "https://api.github.com/repos/Brain-WP/BrainMonkey/zipball/d95a9d895352c30f47604ad1b825ab8fa9d1a373", + "reference": "d95a9d895352c30f47604ad1b825ab8fa9d1a373", "shasum": "" }, "require": { @@ -253,7 +253,7 @@ "issues": "https://github.com/Brain-WP/BrainMonkey/issues", "source": "https://github.com/Brain-WP/BrainMonkey" }, - "time": "2024-03-05T08:04:04+00:00" + "time": "2024-08-29T20:15:04+00:00" }, { "name": "dealerdirect/phpcodesniffer-composer-installer", @@ -597,16 +597,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.1.0", + "version": "v5.2.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1" + "reference": "23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/683130c2ff8c2739f4822ff7ac5c873ec529abd1", - "reference": "683130c2ff8c2739f4822ff7ac5c873ec529abd1", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb", + "reference": "23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb", "shasum": "" }, "require": { @@ -649,9 +649,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.1.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.2.0" }, - "time": "2024-07-01T20:03:41+00:00" + "time": "2024-09-15T16:40:33+00:00" }, { "name": "phar-io/manifest", @@ -1062,12 +1062,12 @@ "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHPCSUtils.git", - "reference": "cc4244b4e6ab34f3e8db83e3987dcb65138450ff" + "reference": "dd8f54106f37cd8c6b681d5c659b76a1d309c67f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/cc4244b4e6ab34f3e8db83e3987dcb65138450ff", - "reference": "cc4244b4e6ab34f3e8db83e3987dcb65138450ff", + "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/dd8f54106f37cd8c6b681d5c659b76a1d309c67f", + "reference": "dd8f54106f37cd8c6b681d5c659b76a1d309c67f", "shasum": "" }, "require": { @@ -1080,7 +1080,7 @@ "php-parallel-lint/php-console-highlighter": "^1.0", "php-parallel-lint/php-parallel-lint": "^1.3.2", "phpcsstandards/phpcsdevcs": "^1.1.6", - "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0" + "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 || ^3.0.0" }, "default-branch": true, "type": "phpcodesniffer-standard", @@ -1143,7 +1143,7 @@ "type": "open_collective" } ], - "time": "2024-08-23T23:59:03+00:00" + "time": "2024-09-16T11:24:55+00:00" }, { "name": "phpunit/php-code-coverage", @@ -1470,12 +1470,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "d03a18e1de823b53bbf22b4b408e93e430521a51" + "reference": "bc0b86cf861901c60c8a7e62aa0b17f3260d3640" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/d03a18e1de823b53bbf22b4b408e93e430521a51", - "reference": "d03a18e1de823b53bbf22b4b408e93e430521a51", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/bc0b86cf861901c60c8a7e62aa0b17f3260d3640", + "reference": "bc0b86cf861901c60c8a7e62aa0b17f3260d3640", "shasum": "" }, "require": { @@ -1565,7 +1565,7 @@ "type": "tidelift" } ], - "time": "2024-08-27T09:25:52+00:00" + "time": "2024-09-19T10:23:44+00:00" }, { "name": "sebastian/cli-parser", @@ -2537,12 +2537,12 @@ "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "41a426cac70d410183189bc31c63f474f6f53548" + "reference": "92c8ef54357ea09d93f8efa043d7c9c0a71ae094" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/41a426cac70d410183189bc31c63f474f6f53548", - "reference": "41a426cac70d410183189bc31c63f474f6f53548", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/92c8ef54357ea09d93f8efa043d7c9c0a71ae094", + "reference": "92c8ef54357ea09d93f8efa043d7c9c0a71ae094", "shasum": "" }, "require": { @@ -2610,7 +2610,7 @@ "type": "open_collective" } ], - "time": "2024-08-17T17:43:40+00:00" + "time": "2024-09-18T16:46:38+00:00" }, { "name": "tareq1988/wp-php-cs-fixer", @@ -2706,12 +2706,12 @@ "source": { "type": "git", "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", - "reference": "dfd6c3a8ee61eed6af15bda09f4a33d79eb2b86b" + "reference": "7f766304b0654cee7c1dfa8e548f65fce197e05c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/dfd6c3a8ee61eed6af15bda09f4a33d79eb2b86b", - "reference": "dfd6c3a8ee61eed6af15bda09f4a33d79eb2b86b", + "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7f766304b0654cee7c1dfa8e548f65fce197e05c", + "reference": "7f766304b0654cee7c1dfa8e548f65fce197e05c", "shasum": "" }, "require": { @@ -2765,7 +2765,7 @@ "type": "custom" } ], - "time": "2024-08-07T10:30:25+00:00" + "time": "2024-08-28T05:05:46+00:00" }, { "name": "wp-phpunit/wp-phpunit", @@ -2822,12 +2822,12 @@ "source": { "type": "git", "url": "https://github.com/Yoast/PHPUnit-Polyfills.git", - "reference": "05495b934d2ae9a3b1c54b766ed479343a29f6b1" + "reference": "e87abf2352b5f6736cab7c8d23c581ef6aaeaf3f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/05495b934d2ae9a3b1c54b766ed479343a29f6b1", - "reference": "05495b934d2ae9a3b1c54b766ed479343a29f6b1", + "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/e87abf2352b5f6736cab7c8d23c581ef6aaeaf3f", + "reference": "e87abf2352b5f6736cab7c8d23c581ef6aaeaf3f", "shasum": "" }, "require": { @@ -2842,7 +2842,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -2877,7 +2877,7 @@ "security": "https://github.com/Yoast/PHPUnit-Polyfills/security/policy", "source": "https://github.com/Yoast/PHPUnit-Polyfills" }, - "time": "2024-07-15T17:38:35+00:00" + "time": "2024-09-16T19:21:25+00:00" } ], "aliases": [], diff --git a/dokan.php b/dokan.php index b917a19d1..df77b178a 100755 --- a/dokan.php +++ b/dokan.php @@ -3,13 +3,13 @@ * Plugin Name: Dokan * Plugin URI: https://dokan.co/wordpress/ * Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs. - * Version: 3.12.1 + * Version: 3.12.2 * Author: weDevs * Author URI: https://dokan.co/ * Text Domain: dokan-lite * Requires Plugins: woocommerce * WC requires at least: 8.0.0 - * WC tested up to: 9.1.4 + * WC tested up to: 9.3.2 * Domain Path: /languages/ * License: GPL2 */ @@ -66,7 +66,7 @@ final class WeDevs_Dokan { * * @var string */ - public $version = '3.12.1'; + public $version = '3.12.2'; /** * Instance of self diff --git a/includes/Order/Hooks.php b/includes/Order/Hooks.php index c6ba727e6..3bef0c4f5 100644 --- a/includes/Order/Hooks.php +++ b/includes/Order/Hooks.php @@ -143,7 +143,7 @@ public function on_order_status_change( $order_id, $old_status, $new_status, $or * This method determines whether a sub-order can transition from its current status * to a new status, based on a configurable whitelist of allowed transitions. * - * @since DOKAN_SINCE + * @since 3.12.2 * * @param string $current_status The current status of the sub-order (should include 'wc-' prefix). * @param string $new_status The new status to check (should include 'wc-' prefix). @@ -174,7 +174,7 @@ private function is_status_change_allowed( string $current_status, string $new_s * status is updated. By modifying this whitelist, you can control how * sub-order statuses are updated in relation to the main order. * - * @since DOKAN_SINCE + * @since 3.12.2 * * @param array $whitelist An associative array where keys are current statuses * and values are arrays of allowed new statuses. @@ -201,7 +201,7 @@ private function is_status_change_allowed( string $current_status, string $new_s /** * Ensure a status string has the 'wc-' prefix. * - * @since DOKAN_SINCE + * @since 3.12.2 * * @param string $status The status string to check. * @@ -217,7 +217,7 @@ private function maybe_add_wc_prefix( string $status ): string { * This method logs a message to the error log when a status update for a sub-order * is skipped because the status change is not allowed. * - * @since DOKAN_SINCE + * @since 3.12.2 * * @param int $order_id The ID of the sub-order. * @param string $current_status The current status of the sub-order. diff --git a/languages/dokan-lite.pot b/languages/dokan-lite.pot index 1763e77f8..8f78b812b 100644 --- a/languages/dokan-lite.pot +++ b/languages/dokan-lite.pot @@ -1,19 +1,20 @@ # Copyright (c) 2024 weDevs Pte. Ltd. All Rights Reserved. msgid "" msgstr "" -"Project-Id-Version: Dokan 3.12.1\n" +"Project-Id-Version: Dokan 3.12.2\n" "Report-Msgid-Bugs-To: https://dokan.co/contact/\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-08-30T10:40:37+00:00\n" +"POT-Creation-Date: 2024-09-23T06:17:59+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"X-Generator: WP-CLI 2.9.0\n" +"X-Generator: WP-CLI 2.11.0\n" "X-Domain: dokan-lite\n" #. Plugin Name of the plugin +#: dokan.php #: includes/Admin/AdminBar.php:44 #: includes/Admin/Menu.php:43 #: includes/Customizer.php:56 @@ -22,18 +23,22 @@ msgid "Dokan" msgstr "" #. Plugin URI of the plugin +#: dokan.php msgid "https://dokan.co/wordpress/" msgstr "" #. Description of the plugin +#: dokan.php msgid "An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs." msgstr "" #. Author of the plugin +#: dokan.php msgid "weDevs" msgstr "" #. Author URI of the plugin +#: dokan.php msgid "https://dokan.co/" msgstr "" @@ -134,7 +139,7 @@ msgstr "" #: includes/Admin/Menu.php:47 #: includes/Admin/SetupWizard.php:164 #: includes/functions-dashboard-navigation.php:51 -#: includes/functions.php:2877 +#: includes/functions.php:2878 #: templates/withdraw/header.php:11 msgid "Withdraw" msgstr "" @@ -552,7 +557,7 @@ msgstr "" #: includes/Admin/Settings.php:378 #: includes/Admin/SetupWizard.php:557 #: includes/Dashboard/Templates/Dashboard.php:104 -#: includes/Order/functions.php:426 +#: includes/Order/functions.php:430 #: templates/dashboard/orders-widget.php:33 msgid "Completed" msgstr "" @@ -560,14 +565,14 @@ msgstr "" #: includes/Admin/Settings.php:379 #: includes/Admin/SetupWizard.php:564 #: includes/Dashboard/Templates/Dashboard.php:114 -#: includes/Order/functions.php:441 +#: includes/Order/functions.php:445 #: templates/dashboard/orders-widget.php:43 #: templates/orders/listing.php:132 msgid "Processing" msgstr "" #: includes/Admin/Settings.php:380 -#: includes/Order/functions.php:436 +#: includes/Order/functions.php:440 msgid "On-hold" msgstr "" @@ -1079,7 +1084,7 @@ msgid "Select a page to show your privacy policy" msgstr "" #: includes/Admin/Settings.php:869 -#: includes/functions.php:3341 +#: includes/functions.php:3342 msgid "Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our [dokan_privacy_policy]" msgstr "" @@ -2603,14 +2608,14 @@ msgid "Pending" msgstr "" #: includes/Dashboard/Templates/Dashboard.php:119 -#: includes/Order/functions.php:451 +#: includes/Order/functions.php:455 #: templates/dashboard/orders-widget.php:48 #: assets/js/vue-admin.js:2 msgid "Cancelled" msgstr "" #: includes/Dashboard/Templates/Dashboard.php:124 -#: includes/Order/functions.php:446 +#: includes/Order/functions.php:450 #: templates/dashboard/orders-widget.php:53 msgid "Refunded" msgstr "" @@ -3365,7 +3370,7 @@ msgid "Online" msgstr "" #: includes/functions.php:769 -#: includes/Order/functions.php:460 +#: includes/Order/functions.php:464 msgid "Draft" msgstr "" @@ -3523,229 +3528,229 @@ msgstr "" msgid "Simple" msgstr "" -#: includes/functions.php:2347 +#: includes/functions.php:2348 #: includes/Privacy.php:201 #: assets/js/vue-bootstrap.js:2 msgid "Facebook" msgstr "" -#: includes/functions.php:2351 +#: includes/functions.php:2352 #: includes/Privacy.php:202 #: assets/js/vue-bootstrap.js:2 msgid "Twitter" msgstr "" -#: includes/functions.php:2355 +#: includes/functions.php:2356 #: includes/Privacy.php:203 #: assets/js/vue-bootstrap.js:2 msgid "Pinterest" msgstr "" -#: includes/functions.php:2359 +#: includes/functions.php:2360 msgid "LinkedIn" msgstr "" -#: includes/functions.php:2363 +#: includes/functions.php:2364 #: includes/Privacy.php:205 #: assets/js/vue-bootstrap.js:2 msgid "Youtube" msgstr "" -#: includes/functions.php:2367 +#: includes/functions.php:2368 #: includes/Privacy.php:206 #: assets/js/vue-bootstrap.js:2 msgid "Instagram" msgstr "" -#: includes/functions.php:2371 +#: includes/functions.php:2372 #: includes/Privacy.php:207 #: assets/js/vue-bootstrap.js:2 msgid "Flickr" msgstr "" -#: includes/functions.php:2375 +#: includes/functions.php:2376 msgid "Threads" msgstr "" -#: includes/functions.php:2641 +#: includes/functions.php:2642 msgid "Dokan Store Sidebar" msgstr "" -#: includes/functions.php:2798 +#: includes/functions.php:2799 msgid "View sales overview" msgstr "" -#: includes/functions.php:2799 +#: includes/functions.php:2800 msgid "View sales report chart" msgstr "" -#: includes/functions.php:2800 +#: includes/functions.php:2801 msgid "View announcement" msgstr "" -#: includes/functions.php:2801 +#: includes/functions.php:2802 msgid "View order report" msgstr "" -#: includes/functions.php:2802 +#: includes/functions.php:2803 msgid "View review report" msgstr "" -#: includes/functions.php:2803 +#: includes/functions.php:2804 msgid "View product status report" msgstr "" -#: includes/functions.php:2806 +#: includes/functions.php:2807 msgid "View overview report" msgstr "" -#: includes/functions.php:2807 +#: includes/functions.php:2808 msgid "View daily sales report" msgstr "" -#: includes/functions.php:2808 +#: includes/functions.php:2809 msgid "View top selling report" msgstr "" -#: includes/functions.php:2809 +#: includes/functions.php:2810 msgid "View top earning report" msgstr "" -#: includes/functions.php:2810 +#: includes/functions.php:2811 msgid "View statement report" msgstr "" -#: includes/functions.php:2813 +#: includes/functions.php:2814 msgid "View order" msgstr "" -#: includes/functions.php:2814 +#: includes/functions.php:2815 msgid "Manage order" msgstr "" -#: includes/functions.php:2815 +#: includes/functions.php:2816 msgid "Manage order note" msgstr "" -#: includes/functions.php:2816 +#: includes/functions.php:2817 msgid "Manage refund" msgstr "" -#: includes/functions.php:2817 +#: includes/functions.php:2818 msgid "Export order" msgstr "" -#: includes/functions.php:2820 +#: includes/functions.php:2821 msgid "Add coupon" msgstr "" -#: includes/functions.php:2821 +#: includes/functions.php:2822 msgid "Edit coupon" msgstr "" -#: includes/functions.php:2822 +#: includes/functions.php:2823 msgid "Delete coupon" msgstr "" -#: includes/functions.php:2825 +#: includes/functions.php:2826 msgid "View reviews" msgstr "" -#: includes/functions.php:2826 +#: includes/functions.php:2827 #: assets/js/vue-admin.js:2 msgid "Manage reviews" msgstr "" -#: includes/functions.php:2830 +#: includes/functions.php:2831 msgid "Manage withdraw" msgstr "" -#: includes/functions.php:2833 +#: includes/functions.php:2834 msgid "Add product" msgstr "" -#: includes/functions.php:2834 +#: includes/functions.php:2835 msgid "Edit product" msgstr "" -#: includes/functions.php:2835 +#: includes/functions.php:2836 msgid "Delete product" msgstr "" -#: includes/functions.php:2836 +#: includes/functions.php:2837 msgid "View product" msgstr "" -#: includes/functions.php:2837 +#: includes/functions.php:2838 msgid "Duplicate product" msgstr "" -#: includes/functions.php:2838 +#: includes/functions.php:2839 msgid "Import product" msgstr "" -#: includes/functions.php:2839 +#: includes/functions.php:2840 msgid "Export product" msgstr "" -#: includes/functions.php:2842 +#: includes/functions.php:2843 msgid "View overview menu" msgstr "" -#: includes/functions.php:2843 +#: includes/functions.php:2844 msgid "View product menu" msgstr "" -#: includes/functions.php:2844 +#: includes/functions.php:2845 msgid "View order menu" msgstr "" -#: includes/functions.php:2845 +#: includes/functions.php:2846 msgid "View coupon menu" msgstr "" -#: includes/functions.php:2846 +#: includes/functions.php:2847 msgid "View report menu" msgstr "" -#: includes/functions.php:2847 +#: includes/functions.php:2848 msgid "View review menu" msgstr "" -#: includes/functions.php:2848 +#: includes/functions.php:2849 msgid "View withdraw menu" msgstr "" -#: includes/functions.php:2849 +#: includes/functions.php:2850 msgid "View store settings menu" msgstr "" -#: includes/functions.php:2850 +#: includes/functions.php:2851 msgid "View payment settings menu" msgstr "" -#: includes/functions.php:2851 +#: includes/functions.php:2852 msgid "View shipping settings menu" msgstr "" -#: includes/functions.php:2852 +#: includes/functions.php:2853 msgid "View social settings menu" msgstr "" -#: includes/functions.php:2853 +#: includes/functions.php:2854 msgid "View seo settings menu" msgstr "" -#: includes/functions.php:2872 +#: includes/functions.php:2873 #: assets/js/vue-admin.js:2 msgid "Overview" msgstr "" -#: includes/functions.php:2873 +#: includes/functions.php:2874 msgid "Report" msgstr "" -#: includes/functions.php:2874 +#: includes/functions.php:2875 #: templates/dashboard/big-counter-widget.php:29 #: templates/my-orders.php:25 #: templates/orders/details.php:19 @@ -3756,111 +3761,111 @@ msgstr "" msgid "Order" msgstr "" -#: includes/functions.php:2875 +#: includes/functions.php:2876 msgid "Coupon" msgstr "" -#: includes/functions.php:2876 +#: includes/functions.php:2877 msgid "Review" msgstr "" -#: includes/functions.php:2878 +#: includes/functions.php:2879 #: templates/emails/vendor-completed-order.php:54 #: templates/emails/vendor-new-order.php:53 #: assets/js/vue-admin.js:2 msgid "Product" msgstr "" -#: includes/functions.php:2879 +#: includes/functions.php:2880 msgid "Menu" msgstr "" -#: includes/functions.php:3008 +#: includes/functions.php:3009 #: includes/Vendor/SettingsApi/Settings/Pages/Store.php:350 msgid "Sunday" msgstr "" -#: includes/functions.php:3009 +#: includes/functions.php:3010 #: includes/Vendor/SettingsApi/Settings/Pages/Store.php:302 msgid "Monday" msgstr "" -#: includes/functions.php:3010 +#: includes/functions.php:3011 #: includes/Vendor/SettingsApi/Settings/Pages/Store.php:310 msgid "Tuesday" msgstr "" -#: includes/functions.php:3011 +#: includes/functions.php:3012 #: includes/Vendor/SettingsApi/Settings/Pages/Store.php:318 msgid "Wednesday" msgstr "" -#: includes/functions.php:3012 +#: includes/functions.php:3013 #: includes/Vendor/SettingsApi/Settings/Pages/Store.php:326 msgid "Thursday" msgstr "" -#: includes/functions.php:3013 +#: includes/functions.php:3014 #: includes/Vendor/SettingsApi/Settings/Pages/Store.php:334 msgid "Friday" msgstr "" -#: includes/functions.php:3014 +#: includes/functions.php:3015 #: includes/Vendor/SettingsApi/Settings/Pages/Store.php:342 msgid "Saturday" msgstr "" -#: includes/functions.php:3019 +#: includes/functions.php:3020 msgid "Sun" msgstr "" -#: includes/functions.php:3020 +#: includes/functions.php:3021 msgid "Mon" msgstr "" -#: includes/functions.php:3021 +#: includes/functions.php:3022 msgid "Tue" msgstr "" -#: includes/functions.php:3022 +#: includes/functions.php:3023 msgid "Wed" msgstr "" -#: includes/functions.php:3023 +#: includes/functions.php:3024 msgid "Thu" msgstr "" -#: includes/functions.php:3024 +#: includes/functions.php:3025 msgid "Fri" msgstr "" -#: includes/functions.php:3025 +#: includes/functions.php:3026 msgid "Sat" msgstr "" -#: includes/functions.php:3319 +#: includes/functions.php:3320 msgid "privacy policy" msgstr "" -#: includes/functions.php:3366 +#: includes/functions.php:3367 #: assets/js/vue-admin.js:2 #: assets/js/vue-bootstrap.js:2 msgid "Flat" msgstr "" -#: includes/functions.php:3367 +#: includes/functions.php:3368 #: assets/js/vue-admin.js:2 #: assets/js/vue-bootstrap.js:2 msgid "Percentage" msgstr "" #. translators: 1) plugin slug -#: includes/functions.php:3541 +#: includes/functions.php:3542 msgid "Unable to fetch plugin information from wordpress.org for %s." msgstr "" #. translators: 1) plugin slug -#: includes/functions.php:3554 +#: includes/functions.php:3555 msgid "Unable to install %s from wordpress.org" msgstr "" @@ -3902,168 +3907,168 @@ msgstr "" msgid "Your {site_title} order from {order_date} is complete" msgstr "" -#: includes/Order/functions.php:431 +#: includes/Order/functions.php:435 msgid "Pending Payment" msgstr "" -#: includes/Order/functions.php:456 +#: includes/Order/functions.php:460 msgid "Failed" msgstr "" -#: includes/Order/functions.php:642 +#: includes/Order/functions.php:647 msgid "Order No" msgstr "" -#: includes/Order/functions.php:643 +#: includes/Order/functions.php:648 #: templates/orders/details.php:19 msgid "Order Items" msgstr "" -#: includes/Order/functions.php:644 +#: includes/Order/functions.php:649 msgid "Shipping method" msgstr "" -#: includes/Order/functions.php:645 +#: includes/Order/functions.php:650 msgid "Shipping Cost" msgstr "" -#: includes/Order/functions.php:646 +#: includes/Order/functions.php:651 msgid "Payment method" msgstr "" -#: includes/Order/functions.php:647 +#: includes/Order/functions.php:652 #: templates/orders/listing.php:31 #: templates/orders/listing.php:77 msgid "Order Total" msgstr "" -#: includes/Order/functions.php:648 +#: includes/Order/functions.php:653 msgid "Earnings" msgstr "" -#: includes/Order/functions.php:649 +#: includes/Order/functions.php:654 #: includes/REST/OrderController.php:107 msgid "Order Status" msgstr "" -#: includes/Order/functions.php:650 +#: includes/Order/functions.php:655 msgid "Order Date" msgstr "" -#: includes/Order/functions.php:651 +#: includes/Order/functions.php:656 msgid "Billing Company" msgstr "" -#: includes/Order/functions.php:652 +#: includes/Order/functions.php:657 msgid "Billing First Name" msgstr "" -#: includes/Order/functions.php:653 +#: includes/Order/functions.php:658 msgid "Billing Last Name" msgstr "" -#: includes/Order/functions.php:654 +#: includes/Order/functions.php:659 msgid "Billing Full Name" msgstr "" -#: includes/Order/functions.php:655 +#: includes/Order/functions.php:660 msgid "Billing Email" msgstr "" -#: includes/Order/functions.php:656 +#: includes/Order/functions.php:661 msgid "Billing Phone" msgstr "" -#: includes/Order/functions.php:657 +#: includes/Order/functions.php:662 msgid "Billing Address 1" msgstr "" -#: includes/Order/functions.php:658 +#: includes/Order/functions.php:663 msgid "Billing Address 2" msgstr "" -#: includes/Order/functions.php:659 +#: includes/Order/functions.php:664 msgid "Billing City" msgstr "" -#: includes/Order/functions.php:660 +#: includes/Order/functions.php:665 msgid "Billing State" msgstr "" -#: includes/Order/functions.php:661 +#: includes/Order/functions.php:666 msgid "Billing Postcode" msgstr "" -#: includes/Order/functions.php:662 +#: includes/Order/functions.php:667 msgid "Billing Country" msgstr "" -#: includes/Order/functions.php:663 +#: includes/Order/functions.php:668 msgid "Shipping Company" msgstr "" -#: includes/Order/functions.php:664 +#: includes/Order/functions.php:669 msgid "Shipping First Name" msgstr "" -#: includes/Order/functions.php:665 +#: includes/Order/functions.php:670 msgid "Shipping Last Name" msgstr "" -#: includes/Order/functions.php:666 +#: includes/Order/functions.php:671 msgid "Shipping Full Name" msgstr "" -#: includes/Order/functions.php:667 +#: includes/Order/functions.php:672 msgid "Shipping Address 1" msgstr "" -#: includes/Order/functions.php:668 +#: includes/Order/functions.php:673 msgid "Shipping Address 2" msgstr "" -#: includes/Order/functions.php:669 +#: includes/Order/functions.php:674 msgid "Shipping City" msgstr "" -#: includes/Order/functions.php:670 +#: includes/Order/functions.php:675 msgid "Shipping State" msgstr "" -#: includes/Order/functions.php:671 +#: includes/Order/functions.php:676 msgid "Shipping Postcode" msgstr "" -#: includes/Order/functions.php:672 +#: includes/Order/functions.php:677 msgid "Shipping Country" msgstr "" -#: includes/Order/functions.php:673 +#: includes/Order/functions.php:678 msgid "Customer IP" msgstr "" -#: includes/Order/functions.php:674 +#: includes/Order/functions.php:679 msgid "Customer Note" msgstr "" -#: includes/Order/Hooks.php:269 +#: includes/Order/Hooks.php:368 msgid "Marked as completed because it contains digital products only." msgstr "" -#: includes/Order/Hooks.php:283 +#: includes/Order/Hooks.php:382 msgid "Mark parent order completed when all child orders are completed." msgstr "" -#: includes/Order/Hooks.php:338 +#: includes/Order/Hooks.php:443 msgid "This coupon is invalid for multiple vendors." msgstr "" -#: includes/Order/Hooks.php:352 +#: includes/Order/Hooks.php:457 msgid "A coupon must be restricted with a vendor product." msgstr "" #. translators: %s item name. -#: includes/Order/Hooks.php:398 +#: includes/Order/Hooks.php:503 msgid "Unable to restore stock for item %s." msgstr "" @@ -7287,7 +7292,7 @@ msgstr "" msgid "Product SKU must be unique" msgstr "" -#: includes/wc-functions.php:821 +#: includes/wc-functions.php:825 #: templates/account/update-customer-to-vendor.php:26 #: templates/account/vendor-registration.php:18 #: templates/global/seller-registration-form.php:16 @@ -7296,7 +7301,7 @@ msgstr "" msgid "First Name" msgstr "" -#: includes/wc-functions.php:822 +#: includes/wc-functions.php:826 #: templates/account/update-customer-to-vendor.php:30 #: templates/account/vendor-registration.php:23 #: templates/global/seller-registration-form.php:21 @@ -7305,57 +7310,57 @@ msgstr "" msgid "Last Name" msgstr "" -#: includes/wc-functions.php:823 +#: includes/wc-functions.php:827 #: templates/account/vendor-registration.php:36 #: templates/dashboard/edit-account.php:65 msgid "Email address" msgstr "" -#: includes/wc-functions.php:829 +#: includes/wc-functions.php:833 msgid "is a required field." msgstr "" -#: includes/wc-functions.php:835 +#: includes/wc-functions.php:839 msgid "Please provide a valid email address." msgstr "" -#: includes/wc-functions.php:837 +#: includes/wc-functions.php:841 msgid "This email address is already registered." msgstr "" -#: includes/wc-functions.php:843 +#: includes/wc-functions.php:847 msgid "Your current password is incorrect." msgstr "" -#: includes/wc-functions.php:848 +#: includes/wc-functions.php:852 msgid "Please fill out all password fields." msgstr "" -#: includes/wc-functions.php:851 +#: includes/wc-functions.php:855 msgid "Please enter your current password." msgstr "" -#: includes/wc-functions.php:854 +#: includes/wc-functions.php:858 msgid "Please re-enter your password." msgstr "" -#: includes/wc-functions.php:857 +#: includes/wc-functions.php:861 msgid "New passwords do not match." msgstr "" -#: includes/wc-functions.php:877 +#: includes/wc-functions.php:881 msgid "Account details changed successfully." msgstr "" -#: includes/wc-functions.php:923 +#: includes/wc-functions.php:927 msgid "More Products" msgstr "" -#: includes/wc-functions.php:976 +#: includes/wc-functions.php:980 msgid "No product has been found!" msgstr "" -#: includes/wc-functions.php:1049 +#: includes/wc-functions.php:1053 msgid "Reviews cannot be posted for products that you own." msgstr "" @@ -8168,6 +8173,7 @@ msgstr "" msgid "Your product %s" msgstr "" +#. translators: 1) product title #: templates/emails/plain/product-published.php:25 msgid "has been approved by one of our admin, congrats!" msgstr "" @@ -8209,7 +8215,7 @@ msgstr "" #: templates/emails/plain/reverse-withdrawal-invoice.php:43 #: templates/emails/reverse-withdrawal-invoice.php:73 -#: templates/reverse-withdrawal/reverse-balance.php:40 +#: templates/reverse-withdrawal/reverse-balance.php:45 msgid "Pay Now" msgstr "" @@ -8830,7 +8836,7 @@ msgstr "" msgid "Access Expires" msgstr "" -#: templates/orders/order-download-permission-html.php:68 +#: templates/orders/order-download-permission-html.php:72 #: templates/products/downloadable.php:64 msgid "Never" msgstr "" @@ -9281,15 +9287,15 @@ msgstr "" msgid "Create & add new" msgstr "" -#: templates/reverse-withdrawal/reverse-balance.php:16 +#: templates/reverse-withdrawal/reverse-balance.php:18 msgid "Reverse Pay Balance: " msgstr "" -#: templates/reverse-withdrawal/reverse-balance.php:27 +#: templates/reverse-withdrawal/reverse-balance.php:30 msgid "Threshold: " msgstr "" -#: templates/reverse-withdrawal/reverse-balance.php:31 +#: templates/reverse-withdrawal/reverse-balance.php:36 msgid "Payable Amount: " msgstr "" @@ -9390,7 +9396,7 @@ msgid "Back" msgstr "" #: templates/settings/payment.php:16 -#: templates/withdraw/withdraw-dashboard.php:89 +#: templates/withdraw/withdraw-dashboard.php:91 msgid "Payment Methods" msgstr "" @@ -9635,7 +9641,7 @@ msgid "Cancelled Requests" msgstr "" #: templates/withdraw/status-listing.php:40 -#: templates/withdraw/withdraw-dashboard.php:48 +#: templates/withdraw/withdraw-dashboard.php:50 msgid "Request Withdraw" msgstr "" @@ -9656,33 +9662,33 @@ msgid "Withdraw Threshold:" msgstr "" #. translators: 1) withdraw threshold days -#: templates/withdraw/withdraw-dashboard.php:36 +#: templates/withdraw/withdraw-dashboard.php:37 msgid "%s day" msgid_plural "%s days" msgstr[0] "" msgstr[1] "" -#: templates/withdraw/withdraw-dashboard.php:62 +#: templates/withdraw/withdraw-dashboard.php:64 msgid "Payment Details" msgstr "" -#: templates/withdraw/withdraw-dashboard.php:67 +#: templates/withdraw/withdraw-dashboard.php:69 msgid "Last Payment" msgstr "" -#: templates/withdraw/withdraw-dashboard.php:75 +#: templates/withdraw/withdraw-dashboard.php:77 msgid "View Payments" msgstr "" -#: templates/withdraw/withdraw-dashboard.php:106 +#: templates/withdraw/withdraw-dashboard.php:108 msgid "Default" msgstr "" -#: templates/withdraw/withdraw-dashboard.php:108 +#: templates/withdraw/withdraw-dashboard.php:110 msgid "Make Default" msgstr "" -#: templates/withdraw/withdraw-dashboard.php:110 +#: templates/withdraw/withdraw-dashboard.php:112 msgid "Setup" msgstr "" diff --git a/package-lock.json b/package-lock.json index 258adfd2b..9bd39fd7d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dokan", - "version": "3.12.1", + "version": "3.12.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dokan", - "version": "3.12.1", + "version": "3.12.2", "license": "GPL", "devDependencies": { "@wordpress/scripts": "^27.9.0", @@ -5819,9 +5819,9 @@ "dev": true }, "node_modules/body-parser": { - "version": "1.20.2", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", - "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", + "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", "dev": true, "dependencies": { "bytes": "3.1.2", @@ -5832,7 +5832,7 @@ "http-errors": "2.0.0", "iconv-lite": "0.4.24", "on-finished": "2.4.1", - "qs": "6.11.0", + "qs": "6.13.0", "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" @@ -7742,9 +7742,9 @@ } }, "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", "dev": true, "engines": { "node": ">= 0.8" @@ -9101,37 +9101,37 @@ "dev": true }, "node_modules/express": { - "version": "4.19.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", - "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz", + "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", "dev": true, "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.2", + "body-parser": "1.20.3", "content-disposition": "0.5.4", "content-type": "~1.0.4", "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", - "finalhandler": "1.2.0", + "finalhandler": "1.3.1", "fresh": "0.5.2", "http-errors": "2.0.0", - "merge-descriptors": "1.0.1", + "merge-descriptors": "1.0.3", "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", + "path-to-regexp": "0.1.10", "proxy-addr": "~2.0.7", - "qs": "6.11.0", + "qs": "6.13.0", "range-parser": "~1.2.1", "safe-buffer": "5.2.1", - "send": "0.18.0", - "serve-static": "1.15.0", + "send": "0.19.0", + "serve-static": "1.16.2", "setprototypeof": "1.2.0", "statuses": "2.0.1", "type-is": "~1.6.18", @@ -9364,13 +9364,13 @@ } }, "node_modules/finalhandler": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", - "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", + "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", "dev": true, "dependencies": { "debug": "2.6.9", - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "on-finished": "2.4.1", "parseurl": "~1.3.3", @@ -13281,10 +13281,13 @@ } }, "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", - "dev": true + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/merge-source-map": { "version": "1.1.0", @@ -14453,9 +14456,9 @@ "dev": true }, "node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", + "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", "dev": true }, "node_modules/path-type": { @@ -15687,12 +15690,12 @@ ] }, "node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", "dev": true, "dependencies": { - "side-channel": "^1.0.4" + "side-channel": "^1.0.6" }, "engines": { "node": ">=0.6" @@ -16613,9 +16616,9 @@ } }, "node_modules/send": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", "dev": true, "dependencies": { "debug": "2.6.9", @@ -16651,6 +16654,15 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true }, + "node_modules/send/node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/send/node_modules/mime": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", @@ -16768,15 +16780,15 @@ } }, "node_modules/serve-static": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", - "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", + "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", "dev": true, "dependencies": { - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "parseurl": "~1.3.3", - "send": "0.18.0" + "send": "0.19.0" }, "engines": { "node": ">= 0.8.0" diff --git a/package.json b/package.json index 7ccd2beac..426c5e194 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dokan", - "version": "3.12.1", + "version": "3.12.2", "description": "A WordPress marketplace plugin", "author": "weDevs", "license": "GPL", diff --git a/readme.txt b/readme.txt index f170ac9e2..263922bbf 100644 --- a/readme.txt +++ b/readme.txt @@ -3,11 +3,11 @@ Contributors: tareq1988, wedevs, nizamuddinbabu Donate Link: http://tareq.co/donate/ Tags: WooCommerce multivendor marketplace, multivendor marketplace, multivendor, multi seller, multi vendor, WooCommerce marketplace, WooCommerce product vendors Requires at least: 6.4 -Tested up to: 6.6.1 +Tested up to: 6.6.2 WC requires at least: 8.0.0 -WC tested up to: 9.2.3 +WC tested up to: 9.3.2 Requires PHP: 7.4 -Stable tag: 3.12.1 +Stable tag: 3.12.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -346,6 +346,13 @@ A. Just install and activate the PRO version without deleting the free plugin. A == Changelog == + += v3.12.2 ( Sep 23, 2024 ) = + +- **fix:** Product gallery image uploader close button style fix. +- **fix:** Fix incorrect sub-order status updates when the main order status changed specifically for cancelled sub-orders. +- **fix:** Fixed vendor coupon validation for various discount item types. + = v3.12.1 ( Aug 30, 2024 ) = - **fix:** Resolve fatal error when updating Dokan Lite to 3.12.0 with Dokan Pro 3.9.7. diff --git a/templates/whats-new.php b/templates/whats-new.php index e51b30d45..783ab1797 100644 --- a/templates/whats-new.php +++ b/templates/whats-new.php @@ -3,6 +3,26 @@ * When you are adding new version please follow this sequence for changes: New Feature, New, Improvement, Fix... */ $changelog = [ + [ + 'version' => 'Version 3.12.2', + 'released' => '2024-09-23', + 'changes' => [ + 'Fix' => [ + [ + 'title' => 'Product gallery image uploader close button style fix.', + 'description' => '', + ], + [ + 'title' => 'Fix incorrect sub-order status updates when the main order status changed specifically for cancelled sub-orders.', + 'description' => '', + ], + [ + 'title' => 'Fixed vendor coupon validation for various discount item types.', + 'description' => '', + ], + ], + ], + ], [ 'version' => 'Version 3.12.1', 'released' => '2024-08-30',