Version Description
- Fixed Display on save issue
Download this release
Release Info
Developer | adamskaat |
Plugin | Countdown, Coming Soon – Countdown & Clock |
Version | 2.2.9.2 |
Comparing to | |
See all releases |
Code changes from version 2.2.9.1 to 2.2.9.2
- classes/countdown/Countdown.php +2 -1
- config/config.php +6 -6
- countdown-builder.php +1 -1
- readme.txt +4 -1
classes/countdown/Countdown.php
CHANGED
@@ -395,8 +395,9 @@ abstract class Countdown {
|
|
395 |
return $savedData;
|
396 |
}
|
397 |
$savedData = $savedData[0];
|
|
|
398 |
$displaySettings = self::getDisplaySettings($postId);
|
399 |
-
if(!empty($savedData
|
400 |
$savedData['ycd-display-settings'] = $displaySettings;
|
401 |
}
|
402 |
|
395 |
return $savedData;
|
396 |
}
|
397 |
$savedData = $savedData[0];
|
398 |
+
|
399 |
$displaySettings = self::getDisplaySettings($postId);
|
400 |
+
if(!empty($displaySettings) && is_array($savedData)) {
|
401 |
$savedData['ycd-display-settings'] = $displaySettings;
|
402 |
}
|
403 |
|
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.
|
79 |
-
self::addDefine('YCD_VERSION', 2.
|
80 |
self::addDefine('YCD_FREE_VERSION', 1);
|
81 |
self::addDefine('YCD_SILVER_VERSION', 2);
|
82 |
self::addDefine('YCD_GOLD_VERSION', 3);
|
@@ -84,13 +84,13 @@ class YcdCountdownConfig
|
|
84 |
self::addDefine('YCD_EXTENSION_VERSION', 99);
|
85 |
require_once(dirname(__FILE__).'/config-pkg.php');
|
86 |
|
87 |
-
$versionText = '2.2.9';
|
88 |
if (YCD_PKG_VERSION != YCD_FREE_VERSION) {
|
89 |
-
$versionText = '2.1.
|
90 |
}
|
91 |
self::addDefine('YCD_VERSION_TEXT', $versionText);
|
92 |
-
self::addDefine('YCD_LAST_UPDATE', 'Feb
|
93 |
-
self::addDefine('YCD_NEXT_UPDATE', '
|
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.16);
|
79 |
+
self::addDefine('YCD_VERSION', 2.292);
|
80 |
self::addDefine('YCD_FREE_VERSION', 1);
|
81 |
self::addDefine('YCD_SILVER_VERSION', 2);
|
82 |
self::addDefine('YCD_GOLD_VERSION', 3);
|
84 |
self::addDefine('YCD_EXTENSION_VERSION', 99);
|
85 |
require_once(dirname(__FILE__).'/config-pkg.php');
|
86 |
|
87 |
+
$versionText = '2.2.9.2';
|
88 |
if (YCD_PKG_VERSION != YCD_FREE_VERSION) {
|
89 |
+
$versionText = '2.1.7';
|
90 |
}
|
91 |
self::addDefine('YCD_VERSION_TEXT', $versionText);
|
92 |
+
self::addDefine('YCD_LAST_UPDATE', 'Feb 25');
|
93 |
+
self::addDefine('YCD_NEXT_UPDATE', 'March 4');
|
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.2.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.9.2
|
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
|
6 |
-
Stable tag: 2.2.9.
|
7 |
Requires PHP: 5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -67,6 +67,9 @@ 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.2.9.1 =
|
71 |
* Fixed some warnings
|
72 |
* Fixed issue on PHP 8
|
3 |
Tags: countdown, timer, countdown timer
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 5.9
|
6 |
+
Stable tag: 2.2.9.2
|
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.9.2 =
|
71 |
+
* Fixed Display on save issue
|
72 |
+
|
73 |
= 2.2.9.1 =
|
74 |
* Fixed some warnings
|
75 |
* Fixed issue on PHP 8
|