diff --git a/includes/Admin/Updaters/Pro_Plugin_Updater.php b/includes/Admin/Updaters/Pro_Plugin_Updater.php index 774ea56..36a72b3 100644 --- a/includes/Admin/Updaters/Pro_Plugin_Updater.php +++ b/includes/Admin/Updaters/Pro_Plugin_Updater.php @@ -154,7 +154,7 @@ public function update_plugins( $update, $plugin_data, $plugin_file, $locales ) // Construct the download URL, taking into account the environment $download_url = $is_development ? 'http://localhost:8080/pro/download/1.4.0' - : $update_data->download_url; + : $update_data['download_url']; $package_url = add_query_arg( array( diff --git a/package.json b/package.json index 1d28041..fc6b572 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wcpos/woocommerce-pos", - "version": "1.4.13", + "version": "1.4.14", "description": "A simple front-end for taking WooCommerce orders at the Point of Sale.", "main": "index.js", "workspaces": { diff --git a/readme.txt b/readme.txt index 0cf110f..0f3f756 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: kilbot Tags: ecommerce, point-of-sale, pos, inventory, store Requires at least: 5.6 Tested up to: 6.5 -Stable tag: 1.4.13 +Stable tag: 1.4.14 License: GPL-3.0 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -63,6 +63,9 @@ There is more information on our website at [https://wcpos.com](https://wcpos.co == Changelog == += 1.4.14 - 2024/03/20 = +* Fix: another potential error introduced to Pro updater in previous version 🤦‍♂️ + = 1.4.13 - 2024/03/19 = * Fix: potential error introduced to Pro updater in previous version diff --git a/woocommerce-pos.php b/woocommerce-pos.php index f0a8c5f..ad3dd1e 100644 --- a/woocommerce-pos.php +++ b/woocommerce-pos.php @@ -3,7 +3,7 @@ * Plugin Name: WooCommerce POS * Plugin URI: https://wordpress.org/plugins/woocommerce-pos/ * Description: A simple front-end for taking WooCommerce orders at the Point of Sale. Requires WooCommerce. - * Version: 1.4.13 + * Version: 1.4.14 * Author: kilbot * Author URI: http://wcpos.com * Text Domain: woocommerce-pos @@ -26,7 +26,7 @@ namespace WCPOS\WooCommercePOS; // Define plugin constants. -const VERSION = '1.4.13'; +const VERSION = '1.4.14'; const PLUGIN_NAME = 'woocommerce-pos'; const SHORT_NAME = 'wcpos'; \define( __NAMESPACE__ . '\PLUGIN_FILE', plugin_basename( __FILE__ ) ); // 'woocommerce-pos/woocommerce-pos.php'