Skip to content

Commit

Permalink
chore: Release Version 3.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
shohag121 committed Sep 23, 2024
1 parent 289c56f commit 5c20890
Show file tree
Hide file tree
Showing 10 changed files with 311 additions and 259 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
90 changes: 45 additions & 45 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dokan.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -66,7 +66,7 @@ final class WeDevs_Dokan {
*
* @var string
*/
public $version = '3.12.1';
public $version = '3.12.2';

/**
* Instance of self
Expand Down
8 changes: 4 additions & 4 deletions includes/Order/Hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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.
Expand All @@ -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.
*
Expand All @@ -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.
Expand Down
Loading

0 comments on commit 5c20890

Please sign in to comment.