Version Description
Download this release
Release Info
Developer | adamskaat |
Plugin | Countdown, Coming Soon – Countdown & Clock |
Version | 2.3.9.12 |
Comparing to | |
See all releases |
Code changes from version 2.3.9.11 to 2.3.9.12
- classes/Actions.php +3 -3
- classes/Filters.php +7 -0
- countdown-builder.php +1 -1
- readme.txt +1 -1
classes/Actions.php
CHANGED
@@ -240,9 +240,9 @@ class Actions {
|
|
240 |
}
|
241 |
|
242 |
private function revieNotice() {
|
243 |
-
add_action('admin_notices', array($this, 'showReviewNotice'));
|
244 |
-
add_action('network_admin_notices', array($this, 'showReviewNotice'));
|
245 |
-
add_action('user_admin_notices', array($this, 'showReviewNotice'));
|
246 |
}
|
247 |
|
248 |
public function showReviewNotice() {
|
240 |
}
|
241 |
|
242 |
private function revieNotice() {
|
243 |
+
// add_action('admin_notices', array($this, 'showReviewNotice'));
|
244 |
+
// add_action('network_admin_notices', array($this, 'showReviewNotice'));
|
245 |
+
// add_action('user_admin_notices', array($this, 'showReviewNotice'));
|
246 |
}
|
247 |
|
248 |
public function showReviewNotice() {
|
classes/Filters.php
CHANGED
@@ -144,6 +144,13 @@ class Filters {
|
|
144 |
}
|
145 |
|
146 |
public function countdownContent($content, $obj) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
|
148 |
return $content;
|
149 |
}
|
144 |
}
|
145 |
|
146 |
public function countdownContent($content, $obj) {
|
147 |
+
|
148 |
+
if(!empty($obj->getOptionValue('ycd-custom-css'))) {
|
149 |
+
$content .= '<style type="text/css">'.esc_attr($obj->getOptionValue('ycd-custom-css')).'</style>';
|
150 |
+
}
|
151 |
+
if(!empty($obj->getOptionValue('ycd-custom-js'))) {
|
152 |
+
$content .= '<script type="text/javascript">'.esc_attr($obj->getOptionValue('ycd-custom-js')).'</script>';
|
153 |
+
}
|
154 |
|
155 |
return $content;
|
156 |
}
|
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.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.3.9.12
|
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: 6.0
|
6 |
-
Stable tag: 2.3.9.
|
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: 6.0
|
6 |
+
Stable tag: 2.3.9.12
|
7 |
Requires PHP: 5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|