Countdown, Coming Soon – Countdown & Clock - Version 1.5.8

Version Description

  • Custom JS (new)
  • Circle countdown Redirect to new tab (new)
  • Countdown button new options
  • Bug fixed
Download this release

Release Info

Developer adamskaat
Plugin Icon 128x128 Countdown, Coming Soon – Countdown & Clock
Version 1.5.8
Comparing to
See all releases

Code changes from version 1.5.7 to 1.5.8

assets/js/Admin.js CHANGED
@@ -19,6 +19,7 @@ YcdAdmin.prototype.init = function() {
19
  this.promotionalVideo();
20
  this.editor();
21
  this.changeAnimation();
 
22
 
23
  /*clock*/
24
  this.clockLivePreview();
@@ -30,6 +31,25 @@ YcdAdmin.prototype.init = function() {
30
  }
31
  };
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  YcdAdmin.prototype.changeTimer = function () {
34
  var timers = jQuery('.ycd-timer-time-settings');
35
 
19
  this.promotionalVideo();
20
  this.editor();
21
  this.changeAnimation();
22
+ this.buttonFunctions();
23
 
24
  /*clock*/
25
  this.clockLivePreview();
31
  }
32
  };
33
 
34
+ YcdAdmin.prototype.buttonFunctions = function () {
35
+ var buttonOpacity = jQuery('#ycd-button-opacity');
36
+
37
+ if(!buttonOpacity.length) {
38
+ return false;
39
+ }
40
+
41
+ buttonOpacity.ionRangeSlider({
42
+ hide_min_max: true,
43
+ keyboard: true,
44
+ min: 0,
45
+ max: 1,
46
+ type: 'single',
47
+ step: 0.1,
48
+ prefix: '',
49
+ grid: false
50
+ });
51
+ };
52
+
53
  YcdAdmin.prototype.changeTimer = function () {
54
  var timers = jQuery('.ycd-timer-time-settings');
55
 
assets/js/Countdown.js CHANGED
@@ -126,7 +126,12 @@ YcdCountdown.prototype.contentClick = function() {
126
  var circleWrapper = jQuery('.ycd-circle-'+id+'-wrapper');
127
  circleWrapper.css({'cursor': 'pointer'});
128
  circleWrapper.bind('click', function () {
129
- window.location.href = allOptions['ycd-countdown-content-click-url'];
 
 
 
 
 
130
  });
131
  }
132
  };
126
  var circleWrapper = jQuery('.ycd-circle-'+id+'-wrapper');
127
  circleWrapper.css({'cursor': 'pointer'});
128
  circleWrapper.bind('click', function () {
129
+ if(allOptions['ycd-countdown-content-click-url-tab']) {
130
+ window.open(allOptions['ycd-countdown-content-click-url']);
131
+ }
132
+ else {
133
+ window.location.href = allOptions['ycd-countdown-content-click-url'];
134
+ }
135
  });
136
  }
137
  };
assets/views/countdownButton.php CHANGED
@@ -1,4 +1,4 @@
1
- <div class="ycd-bootstrap-wrapper" style="text-align: right">
2
  <div class="row form-group">
3
  <div class="col-md-5">
4
  <label for="ycd-countdown-enable-button" class="ycd-label-of-switch"><?php _e('Enable Button', YCD_TEXT_DOMAIN)?></label>
@@ -36,7 +36,7 @@
36
  </div>
37
  <div class="row form-group">
38
  <div class="col-md-5">
39
- <label for="ycd-button-border-width"><?php _e('Button border width', YCD_TEXT_DOMAIN)?></label>
40
  </div>
41
  <div class="col-md-7">
42
  <input id="ycd-button-border-width" class="form-control" type="text" name="ycd-button-border-width" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-button-border-width'))?>">
@@ -44,19 +44,64 @@
44
  </div>
45
  <div class="row form-group">
46
  <div class="col-md-5">
47
- <label for="ycd-button-border-width"><?php _e('Button border radius', YCD_TEXT_DOMAIN)?></label>
48
  </div>
49
  <div class="col-md-7">
50
  <input id="ycd-button-border-radius" class="form-control" type="number" name="ycd-button-border-radius" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-button-border-radius'))?>">
51
  </div>
52
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  <div class="row form-group">
54
  <div class="col-md-5">
55
  <label for="ycd-button-bg-color" class=""><?php _e('Background color', YCD_TEXT_DOMAIN);?></label>
56
  </div>
57
  <div class="col-md-7">
58
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
59
- <input type="text" id="ycd-button-bg-color" data-type="background-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-button-bg-color" class=" form-control js-ycd-button-color" value="<?= esc_attr($typeObj->getOptionValue('ycd-button-bg-color')); ?>">
60
  </div>
61
  </div>
62
  </div>
@@ -80,6 +125,58 @@
80
  </div>
81
  </div>
82
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
 
84
  <div class="row form-group">
85
  <div class="col-md-6">
@@ -108,7 +205,7 @@
108
  </div>
109
  </div>
110
  <a href="<?php echo YCD_COUNTDOWN_BUTTON_URL; ?>">
111
- <div class="ycd-pro ycd-pro-options-div">
112
  <button class="ycd-upgrade-button-red ycd-extentsion-pro">
113
  <b class="h2">Unlock</b><br><span class="h5">Extension</span>
114
  </button>
1
+ <div class="ycd-bootstrap-wrapper">
2
  <div class="row form-group">
3
  <div class="col-md-5">
4
  <label for="ycd-countdown-enable-button" class="ycd-label-of-switch"><?php _e('Enable Button', YCD_TEXT_DOMAIN)?></label>
36
  </div>
37
  <div class="row form-group">
38
  <div class="col-md-5">
39
+ <label for="ycd-button-border-width"><?php _e('Border width', YCD_TEXT_DOMAIN)?></label>
40
  </div>
41
  <div class="col-md-7">
42
  <input id="ycd-button-border-width" class="form-control" type="text" name="ycd-button-border-width" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-button-border-width'))?>">
44
  </div>
45
  <div class="row form-group">
46
  <div class="col-md-5">
47
+ <label for="ycd-button-border-width"><?php _e('Border radius', YCD_TEXT_DOMAIN)?></label>
48
  </div>
49
  <div class="col-md-7">
50
  <input id="ycd-button-border-radius" class="form-control" type="number" name="ycd-button-border-radius" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-button-border-radius'))?>">
51
  </div>
52
  </div>
53
+ <div class="row form-group">
54
+ <div class="col-xs-4">
55
+ <label class="control-label"><?php _e('Margin', YCD_TEXT_DOMAIN);?></label>
56
+ </div>
57
+ <div class="col-xs-2">
58
+ <label for="ycd-button-margin-top" class="ycd-label">Top</label>
59
+ <input type="text" id="ycd-button-margin-top" data-direction="top" name="ycd-button-margin-top" class="form-control button-padding" value="<?php echo $typeObj->getOptionValue('ycd-button-margin-top')?>">
60
+ </div>
61
+ <div class="col-xs-2">
62
+ <label for="ycd-button-margin-right" class="ycd-label">Right</label>
63
+ <input type="text" id="ycd-button-margin-right" data-direction="right" name="ycd-button-margin-right" class="form-control button-padding" value="<?php echo $typeObj->getOptionValue('ycd-button-margin-right')?>">
64
+ </div>
65
+ <div class="col-xs-2">
66
+ <label for="ycd-button-margin-bottom" class="ycd-label">Bottom</label>
67
+ <input type="text" id="ycd-button-margin-bottom" data-direction="bottom" name="ycd-button-margin-bottom" class="form-control button-padding" value="<?php echo $typeObj->getOptionValue('ycd-button-margin-bottom')?>">
68
+ </div>
69
+ <div class="col-xs-2">
70
+ <label for="ycd-button-margin-left" class="ycd-label">Left</label>
71
+ <input type="text" id="ycd-button-margin-left" data-direction="left" name="ycd-button-margin-left" class="form-control button-padding" value="<?php echo $typeObj->getOptionValue('ycd-button-margin-left')?>">
72
+ </div>
73
+ </div>
74
+ <div class="row form-group">
75
+ <div class="col-md-5">
76
+ <label for="ycd-button-opacity" class="ycd-range-slider-wrapper"><?php _e('Opacity', YCD_TEXT_DOMAIN); ?></label>
77
+ </div>
78
+ <div class="col-md-7">
79
+ <input type="text" id="ycd-button-opacity" name="ycd-button-opacity" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-button-opacity')); ?>">
80
+ </div>
81
+ </div>
82
+ <div class="row form-group">
83
+ <div class="col-md-5">
84
+ <label for="ycd-button-border-width"><?php _e('Font size', YCD_TEXT_DOMAIN)?></label>
85
+ </div>
86
+ <div class="col-md-7">
87
+ <input id="ycd-button-font-size" class="form-control" type="text" name="ycd-button-font-size" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-button-font-size'))?>">
88
+ </div>
89
+ </div>
90
+ <div class="row form-group">
91
+ <div class="col-md-5">
92
+ <label for="ycd-button-border-width"><?php _e('Font family', YCD_TEXT_DOMAIN)?></label>
93
+ </div>
94
+ <div class="col-md-7">
95
+ <?php echo ycd\AdminHelper::selectBox(array('Open Sans' => 'Open Sans'), esc_attr($typeObj->getOptionValue('ycd-button-font-family')), array('name' => 'ycd-button-font-family', 'class' => 'js-ycd-select js-countdown-font-family')); ?>
96
+ </div>
97
+ </div>
98
  <div class="row form-group">
99
  <div class="col-md-5">
100
  <label for="ycd-button-bg-color" class=""><?php _e('Background color', YCD_TEXT_DOMAIN);?></label>
101
  </div>
102
  <div class="col-md-7">
103
  <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
104
+ <input type="text" id="ycd-button-bg-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-button-bg-color" class=" form-control js-ycd-button-color" value="<?= esc_attr($typeObj->getOptionValue('ycd-button-bg-color')); ?>">
105
  </div>
106
  </div>
107
  </div>
125
  </div>
126
  </div>
127
  </div>
128
+ <div class="row form-group">
129
+ <div class="col-md-5">
130
+ <label for="ycd-button-hover-colors" class="ycd-label-of-switch"><?php _e('Hover colors', YCD_TEXT_DOMAIN); ?></label>
131
+ </div>
132
+ <div class="col-md-7">
133
+ <label class="ycd-switch">
134
+ <input type="checkbox" id="ycd-button-hover-colors" name="ycd-button-hover-colors" class="ycd-accordion-checkbox" <?php echo $typeObj->getOptionValue('ycd-button-hover-colors'); ?>>
135
+ <span class="ycd-slider ycd-round"></span>
136
+ </label>
137
+ </div>
138
+ </div>
139
+ <div class="ycd-accordion-content ycd-hide-content">
140
+ <div class="row form-group">
141
+ <div class="col-md-5">
142
+ <label for="ycd-button-hover-bg-colo" class=""><?php _e('Background color', YCD_TEXT_DOMAIN);?></label>
143
+ </div>
144
+ <div class="col-md-7">
145
+ <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
146
+ <input type="text" id="ycd-button-hover-bg-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-button-hover-bg-color" class=" form-control js-ycd-button-color" value="<?= esc_attr($typeObj->getOptionValue('ycd-button-hover-bg-color')); ?>">
147
+ </div>
148
+ </div>
149
+ </div>
150
+ <div class="row form-group">
151
+ <div class="col-md-5">
152
+ <label for="ycd-button-hover-color" class=""><?php _e('Color', YCD_TEXT_DOMAIN);?></label>
153
+ </div>
154
+ <div class="col-md-7">
155
+ <div class="minicolors minicolors-theme-default minicolors-position-bottom minicolors-position-left">
156
+ <input type="text" id="ycd-button-hover-color" placeholder="<?php _e('Select color', YCD_TEXT_DOMAIN)?>" name="ycd-button-hover-color" class=" form-control js-ycd-button-color" value="<?= esc_attr($typeObj->getOptionValue('ycd-button-hover-color')); ?>">
157
+ </div>
158
+ </div>
159
+ </div>
160
+ </div>
161
+ <div class="row form-group">
162
+ <div class="col-md-5">
163
+ <label for="ycd-button-action-url-tab" class=""><?php _e('Horizontal Align', YCD_TEXT_DOMAIN); ?></label>
164
+ </div>
165
+ <div class="col-md-7">
166
+ <?php echo \ycd\AdminHelper::selectBox(array('center' => 'Center'),$typeObj->getOptionValue('ycd-button-horizontal'), array('class' => 'js-ycd-select', 'name' => 'ycd-button-horizontal')); ?>
167
+ </div>
168
+ </div>
169
+ <div class="row form-group">
170
+ <div class="col-md-5">
171
+ <label for="ycd-button-action-url-tab" class="ycd-label-of-switch"><?php _e('Add Button After Countdown', YCD_TEXT_DOMAIN); ?></label>
172
+ </div>
173
+ <div class="col-md-7">
174
+ <label class="ycd-switch">
175
+ <input type="checkbox" id="ycd-button-after-countdown" name="ycd-button-after-countdown" <?php echo $typeObj->getOptionValue('ycd-button-after-countdown'); ?>>
176
+ <span class="ycd-slider ycd-round"></span>
177
+ </label>
178
+ </div>
179
+ </div>
180
 
181
  <div class="row form-group">
182
  <div class="col-md-6">
205
  </div>
206
  </div>
207
  <a href="<?php echo YCD_COUNTDOWN_BUTTON_URL; ?>">
208
+ <div class="ycd-pro ycd-pro-options-div" style="text-align: right">
209
  <button class="ycd-upgrade-button-red ycd-extentsion-pro">
210
  <b class="h2">Unlock</b><br><span class="h5">Extension</span>
211
  </button>
assets/views/cricleMainView.php CHANGED
@@ -590,6 +590,17 @@ if (YCD_PKG_VERSION > YCD_FREE_VERSION) {
590
  <input type="url" name="ycd-countdown-content-click-url" id="ycd-countdown-content-click-url" class="form-control" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-countdown-content-click-url')); ?>">
591
  </div>
592
  </div>
 
 
 
 
 
 
 
 
 
 
 
593
  </div>
594
  <div class="row form-group">
595
  <div class="col-md-5">
590
  <input type="url" name="ycd-countdown-content-click-url" id="ycd-countdown-content-click-url" class="form-control" value="<?php echo esc_attr($typeObj->getOptionValue('ycd-countdown-content-click-url')); ?>">
591
  </div>
592
  </div>
593
+ <div class="row form-group">
594
+ <div class="col-md-5">
595
+ <label for="ycd-countdown-content-click-url-tab" class="ycd-label-of-switch"><?php _e('Redirect to new tab', YCD_TEXT_DOMAIN) ?></label>
596
+ </div>
597
+ <div class="col-md-7 ycd-circles-width-wrapper">
598
+ <label class="ycd-switch">
599
+ <input type="checkbox" id="ycd-countdown-content-click-url-tab" name="ycd-countdown-content-click-url-tab" class="" <?php echo $typeObj->getOptionValue('ycd-countdown-content-click-url-tab'); ?>>
600
+ <span class="ycd-slider ycd-round"></span>
601
+ </label>
602
+ </div>
603
+ </div>
604
  </div>
605
  <div class="row form-group">
606
  <div class="col-md-5">
assets/views/generalOptions.php CHANGED
@@ -169,9 +169,25 @@ $dueDate = $this->getOptionValue('ycd-date-time-picker');
169
  <div class="row">
170
  <div class="col-md-12">
171
  <div>
172
- <label for="ycd-edtitor-css" class="ycd-label-of-switch"><?php _e('Custom css', YCD_TEXT_DOMAIN); ?></label>
173
  </div>
174
  <textarea id="ycd-edtitor-css" id="ycd-edtitor-css" rows="5" name="ycd-custom-css" class="widefat textarea"><?php echo esc_attr($this->getOptionValue('ycd-custom-css')); ?></textarea>
175
  </div>
176
  </div>
 
 
 
 
 
 
 
 
177
  </div>
 
 
 
 
 
 
 
 
169
  <div class="row">
170
  <div class="col-md-12">
171
  <div>
172
+ <label for="ycd-edtitor-css" class="ycd-label-of-switch"><?php _e('Custom CSS', YCD_TEXT_DOMAIN); ?></label>
173
  </div>
174
  <textarea id="ycd-edtitor-css" id="ycd-edtitor-css" rows="5" name="ycd-custom-css" class="widefat textarea"><?php echo esc_attr($this->getOptionValue('ycd-custom-css')); ?></textarea>
175
  </div>
176
  </div>
177
+ <div class="row">
178
+ <div class="col-md-12">
179
+ <div>
180
+ <label for="ycd-edtitor-js" class="ycd-label-of-switch"><?php _e('Custom JS', YCD_TEXT_DOMAIN); ?></label>
181
+ </div>
182
+ <textarea id="ycd-edtitor-js" id="ycd-edtitor-js" rows="5" name="ycd-custom-js" class="widefat textarea"><?php echo esc_attr($this->getOptionValue('ycd-custom-js')); ?></textarea>
183
+ </div>
184
+ </div>
185
  </div>
186
+
187
+ <style type="text/css">
188
+ .edit-post-status,
189
+ .edit-visibility,
190
+ .edit-timestamp {
191
+ display: none;
192
+ }
193
+ </style>
assets/views/preview/index.php DELETED
File without changes
classes/ConditionBuilder.php CHANGED
@@ -164,7 +164,7 @@ class ConditionBuilder {
164
  $savedValue = $attributes['savedValue'];
165
  if(!empty($fieldAttributes['data-select-type']) && $fieldAttributes['data-select-type'] == 'ajax') {
166
  $currentData = $savedValue;
167
- $savedValue = array_keys($savedValue);
168
  }
169
  $fieldHtml .= AdminHelper::selectBox($currentData, $savedValue, $fieldAttributes);
170
  }
164
  $savedValue = $attributes['savedValue'];
165
  if(!empty($fieldAttributes['data-select-type']) && $fieldAttributes['data-select-type'] == 'ajax') {
166
  $currentData = $savedValue;
167
+ $savedValue = @array_keys($savedValue);
168
  }
169
  $fieldHtml .= AdminHelper::selectBox($currentData, $savedValue, $fieldAttributes);
170
  }
classes/Filters.php CHANGED
@@ -64,7 +64,10 @@ class Filters {
64
 
65
  public function countdownContent($content, $obj) {
66
  if(!empty($obj->getOptionValue('ycd-custom-css'))) {
67
- $content .= '<style>'.$obj->getOptionValue('ycd-custom-css').'</style>';
 
 
 
68
  }
69
 
70
  return $content;
64
 
65
  public function countdownContent($content, $obj) {
66
  if(!empty($obj->getOptionValue('ycd-custom-css'))) {
67
+ $content .= '<style type="text/css">'.$obj->getOptionValue('ycd-custom-css').'</style>';
68
+ }
69
+ if(!empty($obj->getOptionValue('ycd-custom-js'))) {
70
+ $content .= '<script type="text/javascript">'.$obj->getOptionValue('ycd-custom-js').'</script>';
71
  }
72
 
73
  return $content;
config/config.php CHANGED
@@ -58,8 +58,8 @@ class YcdCountdownConfig {
58
  self::addDefine('YCD_CRON_REPEAT_INTERVAL', 1);
59
  self::addDefine('YCD_AJAX_SUCCESS', 1);
60
  self::addDefine('YCD_TABLE_LIMIT', 15);
61
- self::addDefine('YCD_VERSION_PRO', 1.42);
62
- self::addDefine('YCD_VERSION', 1.57);
63
  self::addDefine('YCD_FREE_VERSION', 1);
64
  self::addDefine('YCD_SILVER_VERSION', 2);
65
  self::addDefine('YCD_GOLD_VERSION', 3);
58
  self::addDefine('YCD_CRON_REPEAT_INTERVAL', 1);
59
  self::addDefine('YCD_AJAX_SUCCESS', 1);
60
  self::addDefine('YCD_TABLE_LIMIT', 15);
61
+ self::addDefine('YCD_VERSION_PRO', 1.44);
62
+ self::addDefine('YCD_VERSION', 1.58);
63
  self::addDefine('YCD_FREE_VERSION', 1);
64
  self::addDefine('YCD_SILVER_VERSION', 2);
65
  self::addDefine('YCD_GOLD_VERSION', 3);
config/optionsConfig.php CHANGED
@@ -229,6 +229,18 @@ class YcdCountdownOptionsConfig {
229
  $options[] = array('name' => 'ycd-button-border-radius', 'type' => 'text', 'defaultValue' => '5');
230
  $options[] = array('name' => 'ycd-button-bg-color', 'type' => 'text', 'defaultValue' => '#4dba7a');
231
  $options[] = array('name' => 'ycd-button-color', 'type' => 'text', 'defaultValue' => '#ffffff');
 
 
 
 
 
 
 
 
 
 
 
 
232
 
233
  $YCD_OPTIONS = apply_filters('ycdCountdownDefaultOptions', $options);
234
  }
229
  $options[] = array('name' => 'ycd-button-border-radius', 'type' => 'text', 'defaultValue' => '5');
230
  $options[] = array('name' => 'ycd-button-bg-color', 'type' => 'text', 'defaultValue' => '#4dba7a');
231
  $options[] = array('name' => 'ycd-button-color', 'type' => 'text', 'defaultValue' => '#ffffff');
232
+ $options[] = array('name' => 'ycd-button-after-countdown', 'type' => 'checkbox', 'defaultValue' => '');
233
+ $options[] = array('name' => 'ycd-button-horizontal', 'type' => 'text', 'defaultValue' => 'center');
234
+ $options[] = array('name' => 'ycd-button-font-size', 'type' => 'text', 'defaultValue' => '14px');
235
+ $options[] = array('name' => 'ycd-button-margin-top', 'type' => 'text', 'defaultValue' => '0px');
236
+ $options[] = array('name' => 'ycd-button-margin-right', 'type' => 'text', 'defaultValue' => '0px');
237
+ $options[] = array('name' => 'ycd-button-margin-bottom', 'type' => 'text', 'defaultValue' => '0px');
238
+ $options[] = array('name' => 'ycd-button-margin-left', 'type' => 'text', 'defaultValue' => '0px');
239
+ $options[] = array('name' => 'ycd-button-opacity', 'type' => 'text', 'defaultValue' => '1');
240
+ $options[] = array('name' => 'ycd-button-hover-colors', 'type' => 'checkbox', 'defaultValue' => '');
241
+ $options[] = array('name' => 'ycd-button-hover-bg-color', 'type' => 'text', 'defaultValue' => '#4dba7a');
242
+ $options[] = array('name' => 'ycd-button-hover-color', 'type' => 'text', 'defaultValue' => '#ffffff');
243
+ $options[] = array('name' => 'ycd-countdown-content-click-url-tab', 'type' => 'checkbox', 'defaultValue' => '');
244
 
245
  $YCD_OPTIONS = apply_filters('ycdCountdownDefaultOptions', $options);
246
  }
countdown-builder.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Countdown builder
4
  * Description: The best countdown plugin
5
- * Version: 1.5.7
6
  * Author: Adam Skaat
7
  * Author URI: https://edmonsoft.com/countdown
8
  * License: GPLv2
2
  /**
3
  * Plugin Name: Countdown builder
4
  * Description: The best countdown plugin
5
+ * Version: 1.5.8
6
  * Author: Adam Skaat
7
  * Author URI: https://edmonsoft.com/countdown
8
  * License: GPLv2
helpers/AdminHelper.php CHANGED
@@ -543,7 +543,7 @@ class AdminHelper {
543
  return $rulesArray;
544
  }
545
 
546
- public static function selectBox($data, $selectedValue, $attrs) {
547
 
548
  $attrString = '';
549
  $selected = '';
543
  return $rulesArray;
544
  }
545
 
546
+ public static function selectBox($data = array(), $selectedValue, $attrs) {
547
 
548
  $attrString = '';
549
  $selected = '';
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: adamskaat
3
  Tags: countdown, timer, countdown timer
4
  Requires at least: 3.8
5
- Tested up to: 5.2.2
6
- Stable tag: 1.5.7
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -63,6 +63,12 @@ Yes you can, we have Circle and Flipclock countdown popups.
63
  You need to select the .zip file, there is no need to extract the zip file, just upload it.
64
 
65
  == Changelog ==
 
 
 
 
 
 
66
  = 1.5.7 =
67
  * Font load issue
68
  * Countdown button extension
2
  Contributors: adamskaat
3
  Tags: countdown, timer, countdown timer
4
  Requires at least: 3.8
5
+ Tested up to: 5.3
6
+ Stable tag: 1.5.8
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
63
  You need to select the .zip file, there is no need to extract the zip file, just upload it.
64
 
65
  == Changelog ==
66
+ = 1.5.8 =
67
+ * Custom JS (new)
68
+ * Circle countdown Redirect to new tab (new)
69
+ * Countdown button new options
70
+ * Bug fixed
71
+
72
  = 1.5.7 =
73
  * Font load issue
74
  * Countdown button extension