Version Description
Download this release
Release Info
Developer | adamskaat |
Plugin | Countdown, Coming Soon – Countdown & Clock |
Version | 2.3.9.8 |
Comparing to | |
See all releases |
Code changes from version 2.3.9.7 to 2.3.9.8
- classes/Tickbox.php +4 -2
- countdown-builder.php +1 -1
- helpers/AdminHelper.php +9 -2
- readme.txt +1 -1
classes/Tickbox.php
CHANGED
@@ -27,6 +27,7 @@ class Tickbox {
|
|
27 |
global $pagenow, $typenow;
|
28 |
$output = '';
|
29 |
|
|
|
30 |
/** Only run in post/page creation and edit screens */
|
31 |
if ( in_array( $pagenow, array( 'post.php', 'page.php', 'post-new.php', 'post-edit.php' ) ) && $typenow != 'download' ) {
|
32 |
wp_enqueue_script('jquery-ui-dialog');
|
@@ -38,7 +39,7 @@ class Tickbox {
|
|
38 |
}
|
39 |
|
40 |
if (!$this->isEditorButton) {
|
41 |
-
echo
|
42 |
}
|
43 |
}
|
44 |
|
@@ -85,7 +86,8 @@ class Tickbox {
|
|
85 |
jQuery('#ycd-dialog').dialog('close')
|
86 |
}
|
87 |
jQuery(document).ready(function ($) {
|
88 |
-
$('.ycd-thickbox').bind('click', function() {
|
|
|
89 |
jQuery('#ycd-dialog').dialog({
|
90 |
width: 450,
|
91 |
modal: true,
|
27 |
global $pagenow, $typenow;
|
28 |
$output = '';
|
29 |
|
30 |
+
$allowed_html = AdminHelper::getAllowedTags();
|
31 |
/** Only run in post/page creation and edit screens */
|
32 |
if ( in_array( $pagenow, array( 'post.php', 'page.php', 'post-new.php', 'post-edit.php' ) ) && $typenow != 'download' ) {
|
33 |
wp_enqueue_script('jquery-ui-dialog');
|
39 |
}
|
40 |
|
41 |
if (!$this->isEditorButton) {
|
42 |
+
echo wp_kses($output, $allowed_html);
|
43 |
}
|
44 |
}
|
45 |
|
86 |
jQuery('#ycd-dialog').dialog('close')
|
87 |
}
|
88 |
jQuery(document).ready(function ($) {
|
89 |
+
$('.ycd-thickbox').bind('click', function(e) {
|
90 |
+
e.preventDefault();
|
91 |
jQuery('#ycd-dialog').dialog({
|
92 |
width: 450,
|
93 |
modal: true,
|
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.8
|
6 |
* Author: Adam Skaat
|
7 |
* Author URI: https://edmonsoft.com/countdown
|
8 |
* License: GPLv2
|
helpers/AdminHelper.php
CHANGED
@@ -1496,7 +1496,8 @@ class AdminHelper {
|
|
1496 |
"checked" => array()
|
1497 |
),
|
1498 |
'span' => array(
|
1499 |
-
'class' => array()
|
|
|
1500 |
),
|
1501 |
'label' => array(
|
1502 |
'id' => array(),
|
@@ -1512,7 +1513,13 @@ class AdminHelper {
|
|
1512 |
'width' => array(),
|
1513 |
'height' => array()
|
1514 |
),
|
1515 |
-
"style" => array()
|
|
|
|
|
|
|
|
|
|
|
|
|
1516 |
);
|
1517 |
|
1518 |
return $allowed_html;
|
1496 |
"checked" => array()
|
1497 |
),
|
1498 |
'span' => array(
|
1499 |
+
'class' => array(),
|
1500 |
+
'style' => array()
|
1501 |
),
|
1502 |
'label' => array(
|
1503 |
'id' => array(),
|
1513 |
'width' => array(),
|
1514 |
'height' => array()
|
1515 |
),
|
1516 |
+
"style" => array(),
|
1517 |
+
'a' => array(
|
1518 |
+
'href' => array(),
|
1519 |
+
'class' => array(),
|
1520 |
+
'style' => array(),
|
1521 |
+
|
1522 |
+
)
|
1523 |
);
|
1524 |
|
1525 |
return $allowed_html;
|
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.3
|
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: 5.9.3
|
6 |
+
Stable tag: 2.3.9.8
|
7 |
Requires PHP: 5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|