Countdown, Coming Soon – Countdown & Clock - Version 2.3.9

Version Description

Download this release

Release Info

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

Code changes from version 2.3.8 to 2.3.9

classes/Tickbox.php CHANGED
@@ -38,7 +38,7 @@ class Tickbox {
38
  }
39
 
40
  if (!$this->isEditorButton) {
41
- echo $output;
42
  }
43
  }
44
 
38
  }
39
 
40
  if (!$this->isEditorButton) {
41
+ echo esc_attr($output);
42
  }
43
  }
44
 
classes/countdown/CircleCountdown.php CHANGED
@@ -109,58 +109,58 @@ class CircleCountdown extends Countdown {
109
  ob_start();
110
  ?>
111
  <style type="text/css">
112
- #ycd-circle-<?php echo $id; ?> {
113
  padding: <?php echo $padding; ?>;
114
  box-sizing: border-box;
115
  display: inline-block;
116
  }
117
- #ycd-circle-<?php echo $id; ?> h4 {
118
- font-size: <?php echo $fontSize; ?>px !important;
119
- margin-top: <?php echo $marginTop; ?>px !important;
120
- font-weight: <?php echo $fontWeight; ?> !important;
121
- font-style: <?php echo $fontStyle; ?> !important;
122
- font-family: <?php echo $fontFamily; ?> !important;
123
  }
124
- #ycd-circle-<?php echo $id; ?> span {
125
- font-size: <?php echo $fontSizeNumber; ?>px !important;
126
- margin-top: <?php echo $marginToNumber; ?>px !important;
127
- font-weight: <?php echo $fontWeightNumber; ?> !important;
128
- font-style: <?php echo $fontStyleNumber; ?> !important;
129
- font-family: <?php echo $fontFamilyNumber; ?> !important;
130
  }
131
- #ycd-circle-<?php echo $id; ?> .textDiv_Years h4,
132
- #ycd-circle-<?php echo $id; ?> .textDiv_Years span {
133
- color: <?php echo $yearsColor; ?>
134
  }
135
- #ycd-circle-<?php echo $id; ?> .textDiv_Months h4,
136
- #ycd-circle-<?php echo $id; ?> .textDiv_Months span {
137
  color: <?php echo $monthsColor; ?>
138
  }
139
- #ycd-circle-<?php echo $id; ?> .textDiv_Days h4,
140
- #ycd-circle-<?php echo $id; ?> .textDiv_Days span {
141
- color: <?php echo $daysTextColor; ?>
142
  }
143
- #ycd-circle-<?php echo $id; ?> .textDiv_Hours h4,
144
- #ycd-circle-<?php echo $id; ?> .textDiv_Hours span {
145
- color: <?php echo $hoursTextColor; ?>
146
  }
147
 
148
- #ycd-circle-<?php echo $id; ?> .textDiv_Minutes h4,
149
- #ycd-circle-<?php echo $id; ?> .textDiv_Minutes span {
150
- color: <?php echo $minutesTextColor; ?>
151
  }
152
- #ycd-circle-<?php echo $id; ?> .textDiv_Seconds h4,
153
  #ycd-circle-<?php echo $id; ?> .textDiv_Seconds span {
154
- color: <?php echo $secondsTextColor; ?>
155
  }
156
- .ycd-circle-<?php echo $id; ?>-wrapper {
157
- text-align: <?php echo $circleAlignment; ?>;
158
  }
159
  <?php if($this->getOptionValue('ycd-circle-box-shadow')): ?>
160
- .ycd-circle-<?php echo $id; ?>-wrapper .time_circles {
161
- -webkit-box-shadow: <?php echo $shadowHorizontal.' '.$shadowVertical.' '.$shadowBlurRadius.' '.$shadowSpreadRadius.' '.$shadowColor; ?>;
162
- -moz-box-shadow: <?php echo $shadowHorizontal.' '.$shadowVertical.' '.$shadowBlurRadius.' '.$shadowSpreadRadius.' '.$shadowColor; ?>;
163
- box-shadow: <?php echo $shadowHorizontal.' '.$shadowVertical.' '.$shadowBlurRadius.' '.$shadowSpreadRadius.' '.$shadowColor; ?>;
164
  }
165
  <?php endif; ?>
166
  </style>
109
  ob_start();
110
  ?>
111
  <style type="text/css">
112
+ #ycd-circle-<?php echo esc_attr($id); ?> {
113
  padding: <?php echo $padding; ?>;
114
  box-sizing: border-box;
115
  display: inline-block;
116
  }
117
+ #ycd-circle-<?php echo esc_attr($id); ?> h4 {
118
+ font-size: <?php echo esc_attr($fontSize); ?>px !important;
119
+ margin-top: <?php echo esc_attr($marginTop); ?>px !important;
120
+ font-weight: <?php echo esc_attr($fontWeight); ?> !important;
121
+ font-style: <?php echo esc_attr($fontStyle); ?> !important;
122
+ font-family: <?php echo esc_attr($fontFamily); ?> !important;
123
  }
124
+ #ycd-circle-<?php echo esc_attr($id); ?> span {
125
+ font-size: <?php echo esc_attr($fontSizeNumber); ?>px !important;
126
+ margin-top: <?php echo esc_attr($marginToNumber); ?>px !important;
127
+ font-weight: <?php echo esc_attr($fontWeightNumber); ?> !important;
128
+ font-style: <?php echo esc_attr($fontStyleNumber); ?> !important;
129
+ font-family: <?php echo esc_attr($fontFamilyNumber); ?> !important;
130
  }
131
+ #ycd-circle-<?php echo esc_attr($id); ?> .textDiv_Years h4,
132
+ #ycd-circle-<?php echo esc_attr($id); ?> .textDiv_Years span {
133
+ color: <?php echo esc_attr($yearsColor); ?>
134
  }
135
+ #ycd-circle-<?php echo esc_attr($id); ?> .textDiv_Months h4,
136
+ #ycd-circle-<?php echo esc_attr($id); ?> .textDiv_Months span {
137
  color: <?php echo $monthsColor; ?>
138
  }
139
+ #ycd-circle-<?php echo esc_attr($id); ?> .textDiv_Days h4,
140
+ #ycd-circle-<?php echo esc_attr($id); ?> .textDiv_Days span {
141
+ color: <?php echo esc_attr($daysTextColor); ?>
142
  }
143
+ #ycd-circle-<?php echo esc_attr($id); ?> .textDiv_Hours h4,
144
+ #ycd-circle-<?php echo esc_attr($id); ?> .textDiv_Hours span {
145
+ color: <?php echo esc_attr($hoursTextColor); ?>
146
  }
147
 
148
+ #ycd-circle-<?php echo esc_attr($id); ?> .textDiv_Minutes h4,
149
+ #ycd-circle-<?php echo esc_attr($id); ?> .textDiv_Minutes span {
150
+ color: <?php echo esc_attr($minutesTextColor); ?>
151
  }
152
+ #ycd-circle-<?php echo esc_attr($id); ?> .textDiv_Seconds h4,
153
  #ycd-circle-<?php echo $id; ?> .textDiv_Seconds span {
154
+ color: <?php echo esc_attr($secondsTextColor); ?>
155
  }
156
+ .ycd-circle-<?php echo esc_attr($id); ?>-wrapper {
157
+ text-align: <?php echo esc_attr($circleAlignment); ?>;
158
  }
159
  <?php if($this->getOptionValue('ycd-circle-box-shadow')): ?>
160
+ .ycd-circle-<?php echo esc_attr($id); ?>-wrapper .time_circles {
161
+ -webkit-box-shadow: <?php echo esc_attr($shadowHorizontal).' '.esc_attr($shadowVertical).' '.esc_attr($shadowBlurRadius).' '.esc_attr($shadowSpreadRadius).' '.esc_attr($shadowColor); ?>;
162
+ -moz-box-shadow: <?php echo esc_attr($shadowHorizontal).' '.esc_attr($shadowVertical).' '.esc_attr($shadowBlurRadius).' '.esc_attr($shadowSpreadRadius).' '.esc_attr($shadowColor); ?>;
163
+ box-shadow: <?php echo esc_attr($shadowHorizontal).' '.esc_attr($shadowVertical).' '.esc_attr($shadowBlurRadius).' '.esc_attr($shadowSpreadRadius).' '.esc_attr($shadowColor); ?>;
164
  }
165
  <?php endif; ?>
166
  </style>
classes/countdown/SimpleCountdown.php CHANGED
@@ -127,7 +127,7 @@ class SimpleCountdown extends Countdown
127
  $id = $this->getId();
128
  ob_start();
129
  ?>
130
- <div class="ycd-simple-mode-<?php echo $mode; ?> ycd-simple-mode-<?php echo $mode.'-'.$id; ?>">
131
  <?php foreach($unites as $key => $unite): ?>
132
  <?php
133
  $hideDotsClassName = '';
127
  $id = $this->getId();
128
  ob_start();
129
  ?>
130
+ <div class="ycd-simple-mode-<?php echo esc_attr($mode); ?> ycd-simple-mode-<?php echo esc_attr($mode).'-'.esc_attr($id); ?>">
131
  <?php foreach($unites as $key => $unite): ?>
132
  <?php
133
  $hideDotsClassName = '';
classes/countdown/TimerCountdown.php CHANGED
@@ -97,7 +97,7 @@ class TimerCountdown extends Countdown {
97
  }
98
  </style>
99
  <style type="text/css" id="ycd-timer-content-padding-<?php _e($id); ?>">
100
- .ycd-timer-content-wrapper-<?php echo $id; ?> {
101
  padding: <?php _e($timerContentPadding) ?>;
102
  }
103
  </style>
97
  }
98
  </style>
99
  <style type="text/css" id="ycd-timer-content-padding-<?php _e($id); ?>">
100
+ .ycd-timer-content-wrapper-<?php echo esc_attr($id); ?> {
101
  padding: <?php _e($timerContentPadding) ?>;
102
  }
103
  </style>
countdown-builder.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Countdown builder
4
  * Description: The best countdown plugin by Adam skaat
5
- * Version: 2.3.8
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 by Adam skaat
5
+ * Version: 2.3.9
6
  * Author: Adam Skaat
7
  * Author URI: https://edmonsoft.com/countdown
8
  * License: GPLv2
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: adamskaat
3
  Tags: countdown, timer, countdown timer
4
  Requires at least: 3.8
5
  Tested up to: 5.9.3
6
- Stable tag: 2.3.8
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
3
  Tags: countdown, timer, countdown timer
4
  Requires at least: 3.8
5
  Tested up to: 5.9.3
6
+ Stable tag: 2.3.9
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html