diff --git a/package-lock.json b/package-lock.json index 0ae7562..a6b2bc3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "thrivedesk", - "version": "1.2", + "version": "1.2.3", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 0324a44..bcccaf7 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "thrivedesk", - "version": "1.2", + "version": "1.2.3", "description": "ThriveDesk - Customer Support & Helpdesk Software for WordPress Startups", "scripts": { "dev": "npm run development", diff --git a/readme.txt b/readme.txt index 75373c8..a587479 100755 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: thrivedesk Tags: helpdesk, support ticket, livechat, support plugin, ticket system chat, chatbot, knowledge base, support, help center, customer care, woocommerce, surecart, freemius, thrivedesk Requires at least: 4.9 Tested up to: 6.4 -Stable Tag: 1.2.2 +Stable Tag: 1.2.3 Requires PHP: 5.5 License: GNU General Public License v2.0 or later @@ -232,6 +232,9 @@ Privacy is our utmost priority, and we designed ThriveDesk in a way that aligned - Easy setup: Setup your Shared Inbox in less than a minute. == Changelog == += 1.2.3 = +- Feat: Woocommerce custom order status support added. + = 1.2.2 = - Assets Update diff --git a/src/Plugins/WooCommerce.php b/src/Plugins/WooCommerce.php index a91a711..dc65928 100755 --- a/src/Plugins/WooCommerce.php +++ b/src/Plugins/WooCommerce.php @@ -192,7 +192,7 @@ public function get_orders(): array { 'amount' => (float) $order->get_total(), 'amount_formated' => $this->get_formated_amount( $order->get_total() ), 'date' => date( 'd M Y', strtotime( $order->get_date_created() ) ), - 'order_status' => ucfirst( wc_get_order_status_name( $order->get_status() )), + 'order_status' => ucfirst( $order->get_status() ), 'shipping' => $this->shipping_param ? $this->get_shipping_details( $order ) : [], 'downloads' => $this->get_order_items( $order ), 'order_url' => method_exists( $order, diff --git a/thrivedesk.php b/thrivedesk.php index 2a0a88f..61531ba 100755 --- a/thrivedesk.php +++ b/thrivedesk.php @@ -5,7 +5,7 @@ * Description: Live Chat, Help Desk & Knowledge Base plugin for WordPress * Plugin URI: https://www.thrivedesk.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash * Tags: live chat, helpdesk, free live chat, knowledge base, thrivedesk - * Version: 1.2.2 + * Version: 1.2.3 * Author: ThriveDesk * Author URI: https://profiles.wordpress.org/thrivedesk/ * Text Domain: thrivedesk @@ -50,7 +50,7 @@ final class ThriveDesk * * @var string */ - public $version = '1.2.2'; + public $version = '1.2.3'; /** * The single instance of this class