Version Description
- get_styles() is now a static function
Download this release
Release Info
Developer | baden03 |
Plugin | T(-) Countdown |
Version | 2.3.20 |
Comparing to | |
See all releases |
Code changes from version 2.3.19 to 2.3.20
- countdown-timer.php +4 -5
- readme.txt +7 -5
countdown-timer.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: T(-) Countdown
|
|
4 |
Text Domain: jquery-t-countdown-widget
|
5 |
Plugin URI: https://plugins.twinpictures.de/plugins/t-minus-countdown/
|
6 |
Description: Display and configure multiple T(-) Countdown timers using a shortcode or sidebar widget.
|
7 |
-
Version: 2.3.
|
8 |
Author: twinpictures, baden03
|
9 |
Author URI: https://www.twinpictures.de/
|
10 |
License: GPL2
|
@@ -12,7 +12,7 @@ License: GPL2
|
|
12 |
|
13 |
class WP_TMinusCD {
|
14 |
var $plugin_name = 'T(-) Countdown';
|
15 |
-
var $version = '2.3.
|
16 |
var $domain = 'tminus';
|
17 |
var $plguin_options_page_title = 'T(-) Countdown Options';
|
18 |
var $plugin_options_menue_title = 'T(-) Countdown';
|
@@ -487,7 +487,7 @@ class CountDownTimer extends WP_Widget {
|
|
487 |
echo $args['after_widget'];
|
488 |
}
|
489 |
|
490 |
-
function get_styles($custom_css = null) {
|
491 |
//default styles
|
492 |
$styles_arr = folder_array(WP_PLUGIN_DIR.'/'. dirname( plugin_basename(__FILE__) ).'/css');
|
493 |
if( !empty( $custom_css ) ){
|
@@ -758,8 +758,7 @@ function print_my_script() {
|
|
758 |
function tminuscountdown($atts, $content=null) {
|
759 |
global $add_my_script;
|
760 |
//find a random number, if no id was assigned
|
761 |
-
$ran =
|
762 |
-
|
763 |
extract(shortcode_atts(array(
|
764 |
'id' => $ran,
|
765 |
't' => '',
|
4 |
Text Domain: jquery-t-countdown-widget
|
5 |
Plugin URI: https://plugins.twinpictures.de/plugins/t-minus-countdown/
|
6 |
Description: Display and configure multiple T(-) Countdown timers using a shortcode or sidebar widget.
|
7 |
+
Version: 2.3.20
|
8 |
Author: twinpictures, baden03
|
9 |
Author URI: https://www.twinpictures.de/
|
10 |
License: GPL2
|
12 |
|
13 |
class WP_TMinusCD {
|
14 |
var $plugin_name = 'T(-) Countdown';
|
15 |
+
var $version = '2.3.20';
|
16 |
var $domain = 'tminus';
|
17 |
var $plguin_options_page_title = 'T(-) Countdown Options';
|
18 |
var $plugin_options_menue_title = 'T(-) Countdown';
|
487 |
echo $args['after_widget'];
|
488 |
}
|
489 |
|
490 |
+
static function get_styles($custom_css = null) {
|
491 |
//default styles
|
492 |
$styles_arr = folder_array(WP_PLUGIN_DIR.'/'. dirname( plugin_basename(__FILE__) ).'/css');
|
493 |
if( !empty( $custom_css ) ){
|
758 |
function tminuscountdown($atts, $content=null) {
|
759 |
global $add_my_script;
|
760 |
//find a random number, if no id was assigned
|
761 |
+
$ran = uniqid();
|
|
|
762 |
extract(shortcode_atts(array(
|
763 |
'id' => $ran,
|
764 |
't' => '',
|
readme.txt
CHANGED
@@ -4,8 +4,9 @@ Contributors: twinpictures, baden03
|
|
4 |
Donate link: https://plugins.twinpictures.de/plugins/t-minus-countdown/
|
5 |
Tags: countdown, timer, clock, ticker, widget, event, counter, count down, twinpictures, t minus, t-minus, t(-), t(-) countdown, t-countdown, t (-) countdown, plugin-oven, pluginoven, G2, spaceBros, littlewebtings, jQuery, javascript
|
6 |
Requires at least: 4.7
|
7 |
-
Tested up to:
|
8 |
-
Stable tag: 2.3.
|
|
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -65,6 +66,9 @@ Ah yes! <a href='https://twitter.com/#!/twinpictures'>@Twinpictures</a> is on th
|
|
65 |
|
66 |
== Changelog ==
|
67 |
|
|
|
|
|
|
|
68 |
= 2.3.19 =
|
69 |
* updated CSS to deal with omit-weeks and trip dash issues
|
70 |
* now calculates any offset between server and browser times for countdown calculations
|
@@ -314,6 +318,4 @@ Ah yes! <a href='https://twitter.com/#!/twinpictures'>@Twinpictures</a> is on th
|
|
314 |
* The plugin came to be.
|
315 |
|
316 |
== Upgrade Notice ==
|
317 |
-
*
|
318 |
-
* now calculates any offset between server and browser times for countdown calculations
|
319 |
-
* added circle style
|
4 |
Donate link: https://plugins.twinpictures.de/plugins/t-minus-countdown/
|
5 |
Tags: countdown, timer, clock, ticker, widget, event, counter, count down, twinpictures, t minus, t-minus, t(-), t(-) countdown, t-countdown, t (-) countdown, plugin-oven, pluginoven, G2, spaceBros, littlewebtings, jQuery, javascript
|
6 |
Requires at least: 4.7
|
7 |
+
Tested up to: 5.1
|
8 |
+
Stable tag: 2.3.20
|
9 |
+
Requires PHP: 7.0
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 2.3.20 =
|
70 |
+
* get_styles() is now a static function
|
71 |
+
|
72 |
= 2.3.19 =
|
73 |
* updated CSS to deal with omit-weeks and trip dash issues
|
74 |
* now calculates any offset between server and browser times for countdown calculations
|
318 |
* The plugin came to be.
|
319 |
|
320 |
== Upgrade Notice ==
|
321 |
+
* get_styles() is now a static function
|
|
|
|