Version Description
- Bug fixed of the Countdown Gutenberg block
- Countdown Gutenberg block improvements
Download this release
Release Info
Developer | adamskaat |
Plugin | Countdown, Coming Soon – Countdown & Clock |
Version | 2.2.3 |
Comparing to | |
See all releases |
Code changes from version 2.2.2 to 2.2.3
- assets/js/admin/WpCountdownBlock.js +1 -1
- assets/js/admin/WpCountdownBlockMin.js +5 -7
- config/config.php +5 -5
- countdown-builder.php +1 -1
- readme.txt +6 -2
assets/js/admin/WpCountdownBlock.js
CHANGED
@@ -58,7 +58,7 @@ WpCountdownBlock.prototype.init = function() {
|
|
58 |
|
59 |
function selectCountdown(value) {
|
60 |
setAttributes({
|
61 |
-
countdownId: value
|
62 |
});
|
63 |
}
|
64 |
|
58 |
|
59 |
function selectCountdown(value) {
|
60 |
setAttributes({
|
61 |
+
countdownId: parseInt(value)
|
62 |
});
|
63 |
}
|
64 |
|
assets/js/admin/WpCountdownBlockMin.js
CHANGED
@@ -58,7 +58,7 @@ WpCountdownBlock.prototype.init = function () {
|
|
58 |
|
59 |
function selectCountdown(value) {
|
60 |
setAttributes({
|
61 |
-
countdownId: value
|
62 |
});
|
63 |
}
|
64 |
|
@@ -86,14 +86,15 @@ WpCountdownBlock.prototype.init = function () {
|
|
86 |
React.createElement(
|
87 |
PanelBody,
|
88 |
{ title: 'countdown builder title' },
|
|
|
89 |
React.createElement(SelectControl, {
|
90 |
-
label: 'Select countdown',
|
91 |
value: countdownId,
|
92 |
options: countdownOptions,
|
93 |
onChange: selectCountdown
|
94 |
}),
|
95 |
React.createElement(ToggleControl, {
|
96 |
-
label: 'Select countdown',
|
97 |
checked: displayTitle,
|
98 |
onChange: toggleDisplayTitle
|
99 |
}),
|
@@ -113,15 +114,12 @@ WpCountdownBlock.prototype.init = function () {
|
|
113 |
{
|
114 |
key: 'ycd-gutenberg-form-selector-wrap',
|
115 |
className: 'ycd-gutenberg-form-selector-wrapper' },
|
|
|
116 |
React.createElement(SelectControl, {
|
117 |
key: 'ycd-gutenberg-form-selector-select-control',
|
118 |
value: countdownId,
|
119 |
options: countdownOptions,
|
120 |
onChange: selectCountdown
|
121 |
-
}),
|
122 |
-
React.createElement(SelectControl, {
|
123 |
-
key: 'ycd-gutenberg-form-selector-select-control',
|
124 |
-
onChange: selectCountdown
|
125 |
})
|
126 |
));
|
127 |
}
|
58 |
|
59 |
function selectCountdown(value) {
|
60 |
setAttributes({
|
61 |
+
countdownId: parseInt(value)
|
62 |
});
|
63 |
}
|
64 |
|
86 |
React.createElement(
|
87 |
PanelBody,
|
88 |
{ title: 'countdown builder title' },
|
89 |
+
React.createElement('h2', "Insert Popup More settings"),
|
90 |
React.createElement(SelectControl, {
|
91 |
+
label: 'Select countdown@@@',
|
92 |
value: countdownId,
|
93 |
options: countdownOptions,
|
94 |
onChange: selectCountdown
|
95 |
}),
|
96 |
React.createElement(ToggleControl, {
|
97 |
+
label: 'Select countdown@',
|
98 |
checked: displayTitle,
|
99 |
onChange: toggleDisplayTitle
|
100 |
}),
|
114 |
{
|
115 |
key: 'ycd-gutenberg-form-selector-wrap',
|
116 |
className: 'ycd-gutenberg-form-selector-wrapper' },
|
117 |
+
React.createElement('h1', null, "Insert Countdown"),
|
118 |
React.createElement(SelectControl, {
|
119 |
key: 'ycd-gutenberg-form-selector-select-control',
|
120 |
value: countdownId,
|
121 |
options: countdownOptions,
|
122 |
onChange: selectCountdown
|
|
|
|
|
|
|
|
|
123 |
})
|
124 |
));
|
125 |
}
|
config/config.php
CHANGED
@@ -76,7 +76,7 @@ class YcdCountdownConfig
|
|
76 |
self::addDefine('YCD_AJAX_SUCCESS', 1);
|
77 |
self::addDefine('YCD_TABLE_LIMIT', 15);
|
78 |
self::addDefine('YCD_VERSION_PRO', 2.08);
|
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.
|
88 |
if (YCD_PKG_VERSION != YCD_FREE_VERSION) {
|
89 |
-
$versionText = '2.0.
|
90 |
}
|
91 |
self::addDefine('YCD_VERSION_TEXT', $versionText);
|
92 |
-
self::addDefine('YCD_LAST_UPDATE', '
|
93 |
-
self::addDefine('YCD_NEXT_UPDATE', '
|
94 |
}
|
95 |
|
96 |
public static function displaySettings()
|
76 |
self::addDefine('YCD_AJAX_SUCCESS', 1);
|
77 |
self::addDefine('YCD_TABLE_LIMIT', 15);
|
78 |
self::addDefine('YCD_VERSION_PRO', 2.08);
|
79 |
+
self::addDefine('YCD_VERSION', 2.23);
|
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.3';
|
88 |
if (YCD_PKG_VERSION != YCD_FREE_VERSION) {
|
89 |
+
$versionText = '2.0.9';
|
90 |
}
|
91 |
self::addDefine('YCD_VERSION_TEXT', $versionText);
|
92 |
+
self::addDefine('YCD_LAST_UPDATE', 'Dec 5');
|
93 |
+
self::addDefine('YCD_NEXT_UPDATE', 'Dec 23');
|
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.
|
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.3
|
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.8.2
|
6 |
-
Stable tag: 2.2.
|
7 |
Requires PHP: 5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -67,12 +67,16 @@ 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.2 =
|
71 |
* Added Custom font family functionality
|
72 |
* Fixed the progress bar color change issue
|
73 |
* Fixed the progress bar percentage calculation issue
|
74 |
* Fixed schedules date calculation with simple countdown type
|
75 |
-
|
76 |
= 2.2.1 =
|
77 |
* Fixed Change countdown before text after expiration saving issue
|
78 |
* Fixed Change countdown before text before expiration saving issue
|
3 |
Tags: countdown, timer, countdown timer
|
4 |
Requires at least: 3.8
|
5 |
Tested up to: 5.8.2
|
6 |
+
Stable tag: 2.2.3
|
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.3 =
|
71 |
+
* Bug fixed of the Countdown Gutenberg block
|
72 |
+
* Countdown Gutenberg block improvements
|
73 |
+
|
74 |
= 2.2.2 =
|
75 |
* Added Custom font family functionality
|
76 |
* Fixed the progress bar color change issue
|
77 |
* Fixed the progress bar percentage calculation issue
|
78 |
* Fixed schedules date calculation with simple countdown type
|
79 |
+
|
80 |
= 2.2.1 =
|
81 |
* Fixed Change countdown before text after expiration saving issue
|
82 |
* Fixed Change countdown before text before expiration saving issue
|