Skip to content

Commit 4fe3019

Browse files
Updated phpsdk version and addd version number to diagnostics header
1 parent 3ba5fc9 commit 4fe3019

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Contributors: rickmutt
33
Tags: waiting room, traffic management, queue management, ecommerce, CrowdHandler,
44
Tested up to: 6.1.1
5-
Stable tag: 1.1.10
5+
Stable tag: 1.1.11
66
License: GPLv2 or later
77
License URI: http://www.gnu.org/licenses/gpl-2.0.html
88

composer.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crowdhandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* Plugin Name: CrowdHandler virtual waiting room
1717
* Plugin URI: https://signup.crowdhandler.com/?utm_source=WordPress&utm_medium=Plugin_Dir
1818
* Description: During periods of heavy traffic, our queue management solution helps safeguard your website from crashing and protects your sales.
19-
* Version: 1.1.10
19+
* Version: 1.1.11
2020
* Author: CROWDHANDLER LTD
2121
* License: GPL-2.0+
2222
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
@@ -38,7 +38,7 @@
3838
* Start at version 0.1.0 and use SemVer - https://semver.org
3939
* Rename this for your plugin and update it as you release new versions.
4040
*/
41-
define('CROWDHANDLER_VERSION', '1.1.10');
41+
define('CROWDHANDLER_VERSION', '1.1.11');
4242

4343
/**
4444
* The code that runs during plugin activation.

includes/class-crowdhandler-diagnostics.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function addCHDiagnostics($headers)
2525
$isEnabled = (isset($this->options['crowdhandler_settings_field_is_enabled'])) ? '1' : '0';
2626
$timestamp = new DateTime();
2727
$formatedTime = $timestamp->format(DateTime::ISO8601);
28-
$headers['x-crowdhandler-info'] = $this->options['crowdhandler_settings_field_public_key'] . '::' . $indexOverride . '::' . $isEnabled . '::' . $formatedTime;
28+
$headers['x-crowdhandler-info'] = CROWDHANDLER_VERSION . '::' . $this->options['crowdhandler_settings_field_public_key'] . '::' . $indexOverride . '::' . $isEnabled . '::' . $formatedTime;
2929
}
3030
return $headers;
3131
}

0 commit comments

Comments
 (0)