T(-) Countdown - Version 2.2.18

Version Description

  • countdown script moved in loading priority to after jQuery, when loaded in the footer
Download this release

Release Info

Developer baden03
Plugin Icon 128x128 T(-) Countdown
Version 2.2.18
Comparing to
See all releases

Code changes from version 2.2.17 to 2.2.18

Files changed (2) hide show
  1. countdown-timer.php +4 -4
  2. readme.txt +5 -2
countdown-timer.php CHANGED
@@ -5,7 +5,7 @@ Text Domain: tminus
5
  Domain Path: /languages
6
  Plugin URI: http://plugins.twinpictures.de/plugins/t-minus-countdown/
7
  Description: Display and configure multiple T(-) Countdown timers using a shortcode or sidebar widget.
8
- Version: 2.2.17
9
  Author: twinpictures, baden03
10
  Author URI: http://www.twinpictures.de/
11
  License: GPL2
@@ -14,7 +14,7 @@ License: GPL2
14
  //plugin init scripts
15
  add_action( 'init', 'countdown_init_scripts' );
16
  function countdown_init_scripts(){
17
- $current_version = '2.2.17';
18
  $installed_version = get_option('t-minus_version');
19
 
20
  if($current_version != $installed_version){
@@ -478,7 +478,7 @@ class CountDownTimer extends WP_Widget {
478
  <br/>
479
  <a class="collapseomatic" id="tccc<?php echo $this->get_field_id('isrockstar'); ?>"><?php _e('Schedule Recurring Countdown', 'tminus'); ?></a>
480
  <div id="target-tccc<?php echo $this->get_field_id('isrockstar'); ?>" class="collapseomatic_content">
481
- <p><?php printf(__('%sT(-) Countdown Control%s is a premium countdown plugin that includes the ability to schedule and manage multiple recurring T(-) Countdowns... the Jedi way.', 'tminus'), '<a href="http://plugins.twinpictures.de/premium-plugins/t-minus-countdown-control/" target="blank" title="(-) Countdown Control">', '</a>'); ?></p>
482
  </div>
483
  <?php
484
  }
@@ -489,7 +489,7 @@ add_action('widgets_init', create_function('', 'return register_widget("CountDow
489
 
490
 
491
  //code for the footer
492
- add_action('wp_footer', 'print_my_script');
493
 
494
  function print_my_script() {
495
  global $add_my_script;
5
  Domain Path: /languages
6
  Plugin URI: http://plugins.twinpictures.de/plugins/t-minus-countdown/
7
  Description: Display and configure multiple T(-) Countdown timers using a shortcode or sidebar widget.
8
+ Version: 2.2.18
9
  Author: twinpictures, baden03
10
  Author URI: http://www.twinpictures.de/
11
  License: GPL2
14
  //plugin init scripts
15
  add_action( 'init', 'countdown_init_scripts' );
16
  function countdown_init_scripts(){
17
+ $current_version = '2.2.18';
18
  $installed_version = get_option('t-minus_version');
19
 
20
  if($current_version != $installed_version){
478
  <br/>
479
  <a class="collapseomatic" id="tccc<?php echo $this->get_field_id('isrockstar'); ?>"><?php _e('Schedule Recurring Countdown', 'tminus'); ?></a>
480
  <div id="target-tccc<?php echo $this->get_field_id('isrockstar'); ?>" class="collapseomatic_content">
481
+ <p><?php printf(__('%sT(-) Countdown Control%s is a premium countdown plugin that includes the ability to schedule and manage multiple recurring T(-) Countdowns... the Jedi way.', 'tminus'), '<a href="http://plugins.twinpictures.de/premium-plugins/t-minus-countdown-control/?utm_source=t-countdown&utm_medium=widget-settings&utm_content=t-countdown-control&utm_campaign=t-countdown-widget" target="blank" title="(-) Countdown Control">', '</a>'); ?></p>
482
  </div>
483
  <?php
484
  }
489
 
490
 
491
  //code for the footer
492
+ add_action('wp_footer', 'print_my_script', 99);
493
 
494
  function print_my_script() {
495
  global $add_my_script;
readme.txt CHANGED
@@ -4,8 +4,8 @@ Contributors: twinpictures, baden03
4
  Donate link: http://plugins.twinpictures.de/plugins/t-minus-countdown/
5
  Tags: countdown, timer, clock, ticker, widget, event, counter, count down, twinpictures, t minus, t-minus, plugin-oven, pluginoven, G2, spaceBros, littlewebtings, jQuery, javascript
6
  Requires at least: 3.9
7
- Tested up to: 4.1
8
- Stable tag: 2.2.17
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -63,6 +63,9 @@ The Daily Show with John Stewart
63
 
64
  == Changelog ==
65
 
 
 
 
66
  = 2.2.17 =
67
  * addressed jQuery undefined function error on some WordPress installs
68
  * javascript cleanup
4
  Donate link: http://plugins.twinpictures.de/plugins/t-minus-countdown/
5
  Tags: countdown, timer, clock, ticker, widget, event, counter, count down, twinpictures, t minus, t-minus, plugin-oven, pluginoven, G2, spaceBros, littlewebtings, jQuery, javascript
6
  Requires at least: 3.9
7
+ Tested up to: 4.2
8
+ Stable tag: 2.2.18
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
63
 
64
  == Changelog ==
65
 
66
+ = 2.2.18 =
67
+ * countdown script moved in loading priority to after jQuery, when loaded in the footer
68
+
69
  = 2.2.17 =
70
  * addressed jQuery undefined function error on some WordPress installs
71
  * javascript cleanup