We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9817217 commit 83a0410Copy full SHA for 83a0410
1 file changed
includes/class-crowdhandler-diagnostics.php
@@ -22,9 +22,10 @@ public function addCHDiagnostics($headers)
22
{
23
if($this->options){
24
$indexOverride = (isset($this->options['crowdhandler_settings_field_override_index'])) ? '1' : '0';
25
+ $isEnabled = (isset($this->options['crowdhandler_settings_field_is_enabled'])) ? '1' : '0';
26
$timestamp = new DateTime();
27
$formatedTime = $timestamp->format(DateTime::ISO8601);
- $headers['x-crowdhandler-info'] = $this->options['crowdhandler_settings_field_public_key'] . '::' . $indexOverride . '::' . $formatedTime;
28
+ $headers['x-crowdhandler-info'] = $this->options['crowdhandler_settings_field_public_key'] . '::' . $indexOverride . '::' . $isEnabled .'::' . $formatedTime;
29
}
30
return $headers;
31
0 commit comments