Countdown, Coming Soon – Countdown & Clock - Version 2.3.8

Version Description

Download this release

Release Info

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

Code changes from version 2.3.7 to 2.3.8

classes/Actions.php CHANGED
@@ -193,11 +193,10 @@ class Actions {
193
  $script .= '</script>';
194
  }
195
 
196
- echo $script;
197
  }
198
 
199
  public static function wpHead() {
200
- echo YcdCountdownConfig::headerScript();
201
  }
202
 
203
  public function userRolesCaps() {
@@ -260,7 +259,7 @@ class Actions {
260
  }
261
 
262
  public function showReviewNotice() {
263
- echo new YcdShowReviewNotice();
264
  }
265
 
266
  public function addSubMenu() {
@@ -324,13 +323,12 @@ class Actions {
324
  ob_start();
325
  $typeObj->chanegSavedDataFromArgs();
326
 
327
- echo $typeObj->renderView();
328
-
329
  if(!empty($content)) {
330
  echo "<a href='javascript:void(0)' class='ycd-circle-popup' data-id=".esc_attr($id).">$content</a>";
331
  }
332
  $content = ob_get_contents();
333
  ob_get_clean();
 
334
 
335
  return apply_filters('ycdCountdownContent', $content, $typeObj);
336
  }
193
  $script .= '</script>';
194
  }
195
 
 
196
  }
197
 
198
  public static function wpHead() {
199
+ ///echo esc_html(YcdCountdownConfig::headerScript());
200
  }
201
 
202
  public function userRolesCaps() {
259
  }
260
 
261
  public function showReviewNotice() {
262
+ echo esc_html(new YcdShowReviewNotice());
263
  }
264
 
265
  public function addSubMenu() {
323
  ob_start();
324
  $typeObj->chanegSavedDataFromArgs();
325
 
 
 
326
  if(!empty($content)) {
327
  echo "<a href='javascript:void(0)' class='ycd-circle-popup' data-id=".esc_attr($id).">$content</a>";
328
  }
329
  $content = ob_get_contents();
330
  ob_get_clean();
331
+ $content .= $typeObj->renderView();
332
 
333
  return apply_filters('ycdCountdownContent', $content, $typeObj);
334
  }
classes/Filters.php CHANGED
@@ -95,7 +95,7 @@ class Filters {
95
  public function theContent() {
96
  $comingSoon = new ComingSoon();
97
  if ($comingSoon->allowComingSoon()) {
98
- echo $comingSoon->render();
99
  exit;
100
  }
101
  }
95
  public function theContent() {
96
  $comingSoon = new ComingSoon();
97
  if ($comingSoon->allowComingSoon()) {
98
+ echo esc_html($comingSoon->render());
99
  exit;
100
  }
101
  }
config/config.php CHANGED
@@ -183,7 +183,7 @@ class YcdCountdownConfig
183
  ob_start();
184
  ?>
185
  <script type="text/javascript">
186
- <?php echo $version; ?>
187
  </script>
188
  <?php
189
  $content = ob_get_contents();
183
  ob_start();
184
  ?>
185
  <script type="text/javascript">
186
+ <?php echo esc_attr($version); ?>
187
  </script>
188
  <?php
189
  $content = ob_get_contents();
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.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 by Adam skaat
5
+ * Version: 2.3.8
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.7
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.8
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html