Countdown, Coming Soon – Countdown & Clock - Version 2.2.0

Version Description

  • Fixed debricated function and compatible with the PHP 8
Download this release

Release Info

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

Code changes from version 2.1.9 to 2.2.0

config/config.php CHANGED
@@ -75,8 +75,8 @@ class YcdCountdownConfig
75
  self::addDefine('YCD_CRON_REPEAT_INTERVAL', 1);
76
  self::addDefine('YCD_AJAX_SUCCESS', 1);
77
  self::addDefine('YCD_TABLE_LIMIT', 15);
78
- self::addDefine('YCD_VERSION_PRO', 2.05);
79
- self::addDefine('YCD_VERSION', 2.19);
80
  self::addDefine('YCD_FREE_VERSION', 1);
81
  self::addDefine('YCD_SILVER_VERSION', 2);
82
  self::addDefine('YCD_GOLD_VERSION', 3);
@@ -89,8 +89,8 @@ class YcdCountdownConfig
89
  $versionText = '2.0.5';
90
  }
91
  self::addDefine('YCD_VERSION_TEXT', $versionText);
92
- self::addDefine('YCD_LAST_UPDATE', 'Oct 5');
93
- self::addDefine('YCD_NEXT_UPDATE', 'Oct 24');
94
  }
95
 
96
  public static function displaySettings()
75
  self::addDefine('YCD_CRON_REPEAT_INTERVAL', 1);
76
  self::addDefine('YCD_AJAX_SUCCESS', 1);
77
  self::addDefine('YCD_TABLE_LIMIT', 15);
78
+ self::addDefine('YCD_VERSION_PRO', 2.06);
79
+ self::addDefine('YCD_VERSION', 2.20);
80
  self::addDefine('YCD_FREE_VERSION', 1);
81
  self::addDefine('YCD_SILVER_VERSION', 2);
82
  self::addDefine('YCD_GOLD_VERSION', 3);
89
  $versionText = '2.0.5';
90
  }
91
  self::addDefine('YCD_VERSION_TEXT', $versionText);
92
+ self::addDefine('YCD_LAST_UPDATE', 'Oct 16');
93
+ self::addDefine('YCD_NEXT_UPDATE', 'Nov 10');
94
  }
95
 
96
  public static function displaySettings()
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.1.9
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.2.0
6
  * Author: Adam Skaat
7
  * Author URI: https://edmonsoft.com/countdown
8
  * License: GPLv2
helpers/AdminHelper.php CHANGED
@@ -823,7 +823,7 @@ class AdminHelper {
823
  return $rulesArray;
824
  }
825
 
826
- public static function selectBox($data = array(), $selectedValue, $attrs) {
827
 
828
  $attrString = '';
829
  $selected = '';
823
  return $rulesArray;
824
  }
825
 
826
+ public static function selectBox($data = array(), $selectedValue = array(), $attrs = array()) {
827
 
828
  $attrString = '';
829
  $selected = '';
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.8.1
6
- Stable tag: 2.1.9
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -67,7 +67,10 @@ Yes you can, we have Circle and Flipclock countdown popups.
67
  You need to select the .zip file, there is no need to extract the zip file, just upload it.
68
 
69
  == Changelog ==
70
- = 2.1.5 =
 
 
 
71
  * Fixed Change countdown before text after expiration during count up
72
  * Fixed Change countdown after text after expiration during count up
73
  * Fixed coming soon warnings
3
  Tags: countdown, timer, countdown timer
4
  Requires at least: 3.8
5
  Tested up to: 5.8.1
6
+ Stable tag: 2.2.0
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
67
  You need to select the .zip file, there is no need to extract the zip file, just upload it.
68
 
69
  == Changelog ==
70
+ = 2.2.0 =
71
+ * Fixed debricated function and compatible with the PHP 8
72
+
73
+ = 2.1.9 =
74
  * Fixed Change countdown before text after expiration during count up
75
  * Fixed Change countdown after text after expiration during count up
76
  * Fixed coming soon warnings