From 625cde7d585820c2ea64471163cea36409618f32 Mon Sep 17 00:00:00 2001 From: Shazahanul Islam Shohag Date: Thu, 3 Oct 2024 14:23:15 +0600 Subject: [PATCH] chore: Release Version 3.12.4 --- README.md | 6 +++++- dokan.php | 4 ++-- includes/Vendor/Manager.php | 2 +- languages/dokan-lite.pot | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- readme.txt | 6 +++++- templates/whats-new.php | 12 ++++++++++++ 8 files changed, 30 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 65f8c18ef5..749b4abab5 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ **WC requires at least:** 8.0.0 **WC tested up to:** 9.3.3 **Requires PHP:** 7.4 -**Stable tag:** 3.12.3 +**Stable tag:** 3.12.4 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -347,6 +347,10 @@ A. Just install and activate the PRO version without deleting the free plugin. A ## Changelog ## +### v3.12.4 ( Oct 03, 2024 ) ### + +- **update:** Added `$data` parameter to `dokan_update_vendor` hook. + ### v3.12.3 ( Sep 30, 2024 ) ### - **update:** Added compatibility with RFQ state field ui. diff --git a/dokan.php b/dokan.php index fb95479385..f1ed867e49 100755 --- a/dokan.php +++ b/dokan.php @@ -3,7 +3,7 @@ * 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.3 + * Version: 3.12.4 * Author: weDevs * Author URI: https://dokan.co/ * Text Domain: dokan-lite @@ -66,7 +66,7 @@ final class WeDevs_Dokan { * * @var string */ - public $version = '3.12.2'; + public $version = '3.12.4'; /** * Instance of self diff --git a/includes/Vendor/Manager.php b/includes/Vendor/Manager.php index e55f858a38..439442c6c5 100644 --- a/includes/Vendor/Manager.php +++ b/includes/Vendor/Manager.php @@ -445,7 +445,7 @@ public function update( $vendor_id, $data = [] ) { * Fires after a vendor has been updated. * * @since 2.9.10 - * @since DOKAN_SINCE added $data parameter + * @since 3.12.4 added $data parameter * * @param int $vendor_id The ID of the vendor that was updated. * @param array $data The array of vendor data that was updated. diff --git a/languages/dokan-lite.pot b/languages/dokan-lite.pot index 4f52f44a55..21158276e6 100644 --- a/languages/dokan-lite.pot +++ b/languages/dokan-lite.pot @@ -1,14 +1,14 @@ # Copyright (c) 2024 weDevs Pte. Ltd. All Rights Reserved. msgid "" msgstr "" -"Project-Id-Version: Dokan 3.12.3\n" +"Project-Id-Version: Dokan 3.12.4\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-09-30T09:33:46+00:00\n" +"POT-Creation-Date: 2024-10-03T05:38:32+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.11.0\n" "X-Domain: dokan-lite\n" diff --git a/package-lock.json b/package-lock.json index ba6c1bb521..98202db0d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dokan", - "version": "3.12.3", + "version": "3.12.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dokan", - "version": "3.12.3", + "version": "3.12.4", "license": "GPL", "devDependencies": { "@wordpress/scripts": "^27.9.0", diff --git a/package.json b/package.json index 0c5257d8fc..1ea794ee8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dokan", - "version": "3.12.3", + "version": "3.12.4", "description": "A WordPress marketplace plugin", "author": "weDevs", "license": "GPL", diff --git a/readme.txt b/readme.txt index d0c3872ea5..198b244d22 100644 --- a/readme.txt +++ b/readme.txt @@ -7,7 +7,7 @@ Tested up to: 6.6.2 WC requires at least: 8.0.0 WC tested up to: 9.3.3 Requires PHP: 7.4 -Stable tag: 3.12.3 +Stable tag: 3.12.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -347,6 +347,10 @@ A. Just install and activate the PRO version without deleting the free plugin. A == Changelog == += v3.12.4 ( Oct 03, 2024 ) = + +- **update:** Added `$data` parameter to `dokan_update_vendor` hook. + = v3.12.3 ( Sep 30, 2024 ) = - **update:** Added compatibility with RFQ state field ui. diff --git a/templates/whats-new.php b/templates/whats-new.php index 61acffa20d..49989d5acd 100644 --- a/templates/whats-new.php +++ b/templates/whats-new.php @@ -3,6 +3,18 @@ * When you are adding new version please follow this sequence for changes: New Feature, New, Improvement, Fix... */ $changelog = [ + [ + 'version' => 'Version 3.12.4', + 'released' => '2024-10-03', + 'changes' => [ + 'Improvement' => [ + [ + 'title' => 'Added `$data` parameter to `dokan_update_vendor` hook.', + 'description' => '', + ], + ], + ], + ], [ 'version' => 'Version 3.12.3', 'released' => '2024-09-30',