diff --git a/Makefile b/Makefile index 5a65c5ed401e55c1ec513c354d422c639f6d0214..cb2e0a2066090c11b8aa64f2f5fcbd22bf970384 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ BASE=shipping-by-rules PLATTFORM=woocommerce VENDOR=opentools -VERSION=1.2.6debug +VERSION=1.2.7 DIR = $(shell pwd) SVNDIR=wordpress-plugin-svn diff --git a/opentools-update-checker.php b/opentools-update-checker.php index 49f45ad0fa8e664a010c051c2f434af858edd72b..6e30c59cccc158ec86d01d0a51bff094485a47ce 100644 --- a/opentools-update-checker.php +++ b/opentools-update-checker.php @@ -23,7 +23,7 @@ class OpenToolsPluginUpdateChecker extends PluginUpdateChecker_2_1 { public function __construct($metadataUrl, $pluginFile, $slug = '', $checkPeriod = 12, $optionName = '', $muPluginFile = '') { parent::__construct($metadataUrl, $pluginFile, $slug, $checkPeriod, $optionName, $muPluginFile); - $this->debugMode = TRUE; +// $this->debugMode = TRUE; $this->installOTHooks(); } public function declareCredentials($credential_def) { @@ -129,15 +129,6 @@ class OpenToolsPluginUpdateChecker extends PluginUpdateChecker_2_1 { return; } - $json['showCredentials'] = $showCredentials; - $json['issetSLUG'] = isset($_REQUEST['slug']); - $json['SLUGmatches'] = $_REQUEST['slug'] == $this->slug; - $json['userCanUpdatePlugins'] = current_user_can('update_plugins'); - $json['checkAjax'] = check_ajax_referer('otup_enter_update_credentials'); - $json['NotEmptyCredVars'] = !empty($this->credvars); - - $json['IsNetworkAdmin'] = is_network_admin(); - $json['isMultisite'] = is_multisite(); $showCredentials = isset($_REQUEST['slug']) && $_REQUEST['slug'] == $this->slug && current_user_can('update_plugins') diff --git a/readme.txt b/readme.txt index 81fdda99d2b07b25fa8d952e0ff46e5f772e6395..485560c1b2037174994cb5b1846ecc54366a9b18 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: opentools Tags: WooCommerce, Shipment, Shipping, Rules shipping Requires at least: 4.0 Tested up to: 4.7 -Stable tag: 1.2.6 +Stable tag: 1.2.7 License: GPLv3 or later License URI: http://www.gnu.org/licenses/gpl.html @@ -69,6 +69,9 @@ Please see our support forum at http://open-tools.net/forum/. It might also be a == Changelog == += 1.2.7 = +* Add debug messages to the update system (disabled by default) + = 1.2.6 = * Add message functionality (Error=..., Warning=..., Message=... rule parts) diff --git a/opentools-woocommerce-advanced-shipping-by-rules_v1.2.6debug.zip b/releases/opentools-woocommerce-advanced-shipping-by-rules_v1.2.7.zip similarity index 86% rename from opentools-woocommerce-advanced-shipping-by-rules_v1.2.6debug.zip rename to releases/opentools-woocommerce-advanced-shipping-by-rules_v1.2.7.zip index ea5d103e0736fd8b3377d0dca4feee0551ee5589..dd8e59c5e920960b1085b193f1513cd4c537ee92 100644 Binary files a/opentools-woocommerce-advanced-shipping-by-rules_v1.2.6debug.zip and b/releases/opentools-woocommerce-advanced-shipping-by-rules_v1.2.7.zip differ diff --git a/opentools-woocommerce-shipping-by-rules_v1.2.6debug.zip b/releases/opentools-woocommerce-shipping-by-rules_v1.2.7.zip similarity index 84% rename from opentools-woocommerce-shipping-by-rules_v1.2.6debug.zip rename to releases/opentools-woocommerce-shipping-by-rules_v1.2.7.zip index 0108848a0d7528a5242aeb5a87d7fa3dccf99950..a60478538e1c7b06fbecbd6640e3a37cfef97657 100644 Binary files a/opentools-woocommerce-shipping-by-rules_v1.2.6debug.zip and b/releases/opentools-woocommerce-shipping-by-rules_v1.2.7.zip differ diff --git a/woocommerce-advanced-shipping-by-rules.php b/woocommerce-advanced-shipping-by-rules.php index 1cab4ae310f07482daa68690728ec5f70467342e..289a01ce53c41221396e77ba61ae1f9f2d1cb80b 100644 --- a/woocommerce-advanced-shipping-by-rules.php +++ b/woocommerce-advanced-shipping-by-rules.php @@ -3,7 +3,7 @@ * Plugin Name: WooCommerce Advanced Shipping By Rules * Plugin URI: http://open-tools.net/woocommerce/advanced-shipping-by-rules-for-woocommerce.html * Description: Define Shipping cost by very general and flexible (text-based) rules. The advanced version also provides mathematical expressions and functions - * Version: 1.2.6debug + * Version: 1.2.7 * Author: Open Tools, Reinhold Kainhofer * Author URI: http://open-tools.net * Text Domain: woocommerce-advanced-shipping-by-rules @@ -75,7 +75,7 @@ class WooCommerce_Shipping_By_Rules_Advanced { * @since 1.0.0 * @var string $version Plugin version number. */ - public $version = '1.2.6'; + public $version = '1.2.7'; /** diff --git a/woocommerce-shipping-by-rules.php b/woocommerce-shipping-by-rules.php index 74861358038417f43f69078f9b37a3b32b94ba43..d792aaf6bfc37f2ab2d7de940c9d5f5e70b3f316 100644 --- a/woocommerce-shipping-by-rules.php +++ b/woocommerce-shipping-by-rules.php @@ -3,7 +3,7 @@ * Plugin Name: WooCommerce Shipping By Rules * Plugin URI: http://open-tools.net/woocommerce/advanced-shipping-by-rules-for-woocommerce.html * Description: Define Shipping cost by very general and flexible (text-based) rules. - * Version: 1.2.6debug + * Version: 1.2.7 * Author: Open Tools, Reinhold Kainhofer * Author URI: http://open-tools.net * Text Domain: woocommerce-shipping-by-rules @@ -48,7 +48,7 @@ class WooCommerce_Shipping_By_Rules { * @since 1.0.0 * @var string $version Plugin version number. */ - public $version = '1.2.6'; + public $version = '1.2.7'; /**