Version Description
- Simple countdown display on pages option fixed
Download this release
Release Info
| Developer | adamskaat |
| Plugin | |
| Version | 2.0.1 |
| Comparing to | |
| See all releases | |
Code changes from version 2.0.0 to 2.0.1
- classes/IncludeManager.php +1 -1
- classes/countdown/SimpleCountdown.php +5 -0
- config/config.php +6 -6
- countdown-builder.php +1 -1
- readme.txt +7 -4
classes/IncludeManager.php
CHANGED
|
@@ -46,7 +46,7 @@ class IncludeManager {
|
|
| 46 |
if(!$isAllow) {
|
| 47 |
continue;
|
| 48 |
}
|
| 49 |
-
|
| 50 |
$posts[] = $countdownObj;
|
| 51 |
}
|
| 52 |
$this->setAllowedCountdowns($posts);
|
| 46 |
if(!$isAllow) {
|
| 47 |
continue;
|
| 48 |
}
|
| 49 |
+
|
| 50 |
$posts[] = $countdownObj;
|
| 51 |
}
|
| 52 |
$this->setAllowedCountdowns($posts);
|
classes/countdown/SimpleCountdown.php
CHANGED
|
@@ -170,6 +170,11 @@ class SimpleCountdown extends Countdown
|
|
| 170 |
return $options;
|
| 171 |
}
|
| 172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
public function getViewContent()
|
| 174 |
{
|
| 175 |
$id = $this->getId();
|
| 170 |
return $options;
|
| 171 |
}
|
| 172 |
|
| 173 |
+
public function addToContent()
|
| 174 |
+
{
|
| 175 |
+
add_filter('the_content', array($this, 'getTheContentFilter'),99999999, 1);
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
public function getViewContent()
|
| 179 |
{
|
| 180 |
$id = $this->getId();
|
config/config.php
CHANGED
|
@@ -74,8 +74,8 @@ class YcdCountdownConfig
|
|
| 74 |
self::addDefine('YCD_CRON_REPEAT_INTERVAL', 1);
|
| 75 |
self::addDefine('YCD_AJAX_SUCCESS', 1);
|
| 76 |
self::addDefine('YCD_TABLE_LIMIT', 15);
|
| 77 |
-
self::addDefine('YCD_VERSION_PRO', 1.
|
| 78 |
-
self::addDefine('YCD_VERSION', 2.
|
| 79 |
self::addDefine('YCD_FREE_VERSION', 1);
|
| 80 |
self::addDefine('YCD_SILVER_VERSION', 2);
|
| 81 |
self::addDefine('YCD_GOLD_VERSION', 3);
|
|
@@ -83,13 +83,13 @@ class YcdCountdownConfig
|
|
| 83 |
self::addDefine('YCD_EXTENSION_VERSION', 99);
|
| 84 |
require_once(dirname(__FILE__).'/config-pkg.php');
|
| 85 |
|
| 86 |
-
$versionText = '2.0.
|
| 87 |
if (YCD_PKG_VERSION != YCD_FREE_VERSION) {
|
| 88 |
-
$versionText = '1.8.
|
| 89 |
}
|
| 90 |
self::addDefine('YCD_VERSION_TEXT', $versionText);
|
| 91 |
-
self::addDefine('YCD_LAST_UPDATE', 'Feb
|
| 92 |
-
self::addDefine('YCD_NEXT_UPDATE', '
|
| 93 |
}
|
| 94 |
|
| 95 |
public static function displaySettings()
|
| 74 |
self::addDefine('YCD_CRON_REPEAT_INTERVAL', 1);
|
| 75 |
self::addDefine('YCD_AJAX_SUCCESS', 1);
|
| 76 |
self::addDefine('YCD_TABLE_LIMIT', 15);
|
| 77 |
+
self::addDefine('YCD_VERSION_PRO', 1.87);
|
| 78 |
+
self::addDefine('YCD_VERSION', 2.01);
|
| 79 |
self::addDefine('YCD_FREE_VERSION', 1);
|
| 80 |
self::addDefine('YCD_SILVER_VERSION', 2);
|
| 81 |
self::addDefine('YCD_GOLD_VERSION', 3);
|
| 83 |
self::addDefine('YCD_EXTENSION_VERSION', 99);
|
| 84 |
require_once(dirname(__FILE__).'/config-pkg.php');
|
| 85 |
|
| 86 |
+
$versionText = '2.0.1';
|
| 87 |
if (YCD_PKG_VERSION != YCD_FREE_VERSION) {
|
| 88 |
+
$versionText = '1.8.7';
|
| 89 |
}
|
| 90 |
self::addDefine('YCD_VERSION_TEXT', $versionText);
|
| 91 |
+
self::addDefine('YCD_LAST_UPDATE', 'Feb 28');
|
| 92 |
+
self::addDefine('YCD_NEXT_UPDATE', 'March 14');
|
| 93 |
}
|
| 94 |
|
| 95 |
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.0.
|
| 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.0.1
|
| 6 |
* Author: Adam Skaat
|
| 7 |
* Author URI: https://edmonsoft.com/countdown
|
| 8 |
* License: GPLv2
|
readme.txt
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
Contributors: adamskaat
|
| 3 |
Tags: countdown, timer, countdown timer
|
| 4 |
Requires at least: 3.8
|
| 5 |
-
Tested up to: 5.6.
|
| 6 |
-
Stable tag: 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,9 +67,12 @@ 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.0.0 =
|
| 71 |
-
* Nav bar on the Countdown types section
|
| 72 |
-
* Show on selected user roles
|
| 73 |
* Schedule 1 option bug fixed
|
| 74 |
* Code optimization
|
| 75 |
* Code clean up
|
| 2 |
Contributors: adamskaat
|
| 3 |
Tags: countdown, timer, countdown timer
|
| 4 |
Requires at least: 3.8
|
| 5 |
+
Tested up to: 5.6.2
|
| 6 |
+
Stable tag: 2.0.1
|
| 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.0.1 =
|
| 71 |
+
* Simple countdown display on pages option fixed
|
| 72 |
+
|
| 73 |
= 2.0.0 =
|
| 74 |
+
* Nav bar on the Countdown types section
|
| 75 |
+
* Show on selected user roles (Coming Soon option)
|
| 76 |
* Schedule 1 option bug fixed
|
| 77 |
* Code optimization
|
| 78 |
* Code clean up
|
