diff --git a/Makefile b/Makefile index f615d274a8b2743c0973e70de08a085eb5cc7952..3eefe6c3a2f09206138a46fead36e077464583f3 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ BASE=ordernumbers PLATTFORM=woocommerce VENDOR=opentools -VERSION=1.3.7debug1 +VERSION=1.3.8 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/opentools-woocommerce-ordernumbers-advanced_v1.3.7debug.zip b/opentools-woocommerce-ordernumbers-advanced_v1.3.7debug.zip deleted file mode 100644 index 1bf750f9c19f4319d20042dc51cda0a346e164dc..0000000000000000000000000000000000000000 Binary files a/opentools-woocommerce-ordernumbers-advanced_v1.3.7debug.zip and /dev/null differ diff --git a/opentools-woocommerce-ordernumbers-basic_v1.3.7debug1.zip b/opentools-woocommerce-ordernumbers-basic_v1.3.7debug1.zip deleted file mode 100644 index 4ffd725327c42fb863c36dfa34830bfef80fdd19..0000000000000000000000000000000000000000 Binary files a/opentools-woocommerce-ordernumbers-basic_v1.3.7debug1.zip and /dev/null differ diff --git a/readme.txt b/readme.txt index c13b4df12a4dc5c23562a23701d0f62846cf66d4..3d7ffb72afad921befe59ab60c1d213d939a5ee2 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Contributors: opentools Tags: WooCommerce, Order numbers, orders Requires at least: 4.0 Tested up to: 4.7 -Stable tag: 1.3.7 +Stable tag: 1.3.8 License: GPLv3 or later License URI: http://www.gnu.org/licenses/gpl.html @@ -78,6 +78,9 @@ The Advanced Ordernumbers for WooCommerce plugin supports some invoicing plugins == Changelog == += 1.3.8 = +* Add debug messages to the update system (disabled by default) + = 1.3.7 = * Add support for PayPal payment method * Add variables: diff --git a/opentools-woocommerce-ordernumbers-advanced_v1.3.7debug1.zip b/releases/opentools-woocommerce-ordernumbers-advanced_v1.3.8.zip similarity index 86% rename from opentools-woocommerce-ordernumbers-advanced_v1.3.7debug1.zip rename to releases/opentools-woocommerce-ordernumbers-advanced_v1.3.8.zip index 54419ceff3e36ae5107a2a3e9be2d012f951d6e3..895b0436b3b9175f959057c422284a1bb5a5838b 100644 Binary files a/opentools-woocommerce-ordernumbers-advanced_v1.3.7debug1.zip and b/releases/opentools-woocommerce-ordernumbers-advanced_v1.3.8.zip differ diff --git a/opentools-woocommerce-ordernumbers-basic_v1.3.7debug.zip b/releases/opentools-woocommerce-ordernumbers-basic_v1.3.8.zip similarity index 85% rename from opentools-woocommerce-ordernumbers-basic_v1.3.7debug.zip rename to releases/opentools-woocommerce-ordernumbers-basic_v1.3.8.zip index 0aa808bb276c7b5fdde0e2a9a25a140e30a97037..403547d749735f387b636ab90a604eeeee607aec 100644 Binary files a/opentools-woocommerce-ordernumbers-basic_v1.3.7debug.zip and b/releases/opentools-woocommerce-ordernumbers-basic_v1.3.8.zip differ diff --git a/woocommerce-advanced-ordernumbers.php b/woocommerce-advanced-ordernumbers.php index 3b66977bcd3667180794cb40e2443a233a895573..a4433bd4b0de578b59796597ccb90a13484c3127 100644 --- a/woocommerce-advanced-ordernumbers.php +++ b/woocommerce-advanced-ordernumbers.php @@ -3,7 +3,7 @@ * Plugin Name: Woocommerce Advanced Ordernumbers * Plugin URI: http://open-tools.net/woocommerce/advanced-ordernumbers-for-woocommerce.html * Description: Lets the user freely configure the order numbers in WooCommerce. - * Version: 1.3.7debug1 + * Version: 1.3.8 * Author: Open Tools * Author URI: http://open-tools.net * Text Domain: woocommerce-advanced-ordernumbers diff --git a/woocommerce-basic-ordernumbers.php b/woocommerce-basic-ordernumbers.php index 60eba04fe110791223cf9cfaefb85c477ad4530c..64c503bff3ae4796bc7bf93c281c855bafd003e4 100644 --- a/woocommerce-basic-ordernumbers.php +++ b/woocommerce-basic-ordernumbers.php @@ -3,7 +3,7 @@ * Plugin Name: WooCommerce Basic Ordernumbers * Plugin URI: http://open-tools.net/woocommerce/advanced-ordernumbers-for-woocommerce.html * Description: Configure WooCommerce ordernumbers to have a running counter and arbitrary, fixed text (prefix / postfix). - * Version: 1.3.7debug + * Version: 1.3.8 * Author: Open Tools * Author URI: http://open-tools.net * Text Domain: woocommerce-advanced-ordernumbers