Countdown Timer – Widget Countdown - Version 2.1.4

Version Description

  • Bug fixed.

=

Download this release

Release Info

Developer wpdevart
Plugin Icon 128x128 Countdown Timer – Widget Countdown
Version 2.1.4
Comparing to
See all releases

Code changes from version 2.1.3 to 2.1.4

Files changed (3) hide show
  1. includes/admin_menu.php +4 -4
  2. readme.txt +5 -1
  3. wpdevart-countdown.php +1 -1
includes/admin_menu.php CHANGED
@@ -27,7 +27,7 @@ class wpdevart_countdown_admin_menu{
27
  // include requered files
28
  $this->include_files();
29
  // Insert button code
30
- add_action('media_buttons_context', array($this,'wpdevart_countdown_button'));
31
  add_action( 'wp_ajax_wpdevart_countdown_window_manager', array($this,'wpdevart_countdown_window_insert_content') );
32
  /*gutenberg editor integration*/
33
  $this->integrete_gutenberg();
@@ -44,16 +44,16 @@ class wpdevart_countdown_admin_menu{
44
  }
45
  /*############################### Insert button function ########################################*/
46
 
47
- public function wpdevart_countdown_button($context) {
48
 
49
  $img = $this->plugin_url. 'images/post_button.jpg';
50
 
51
  $title = 'Add Countdown';
52
- $context .= '<a class="button thickbox" title="Create countdown and insert in posts/pages" href="'.admin_url("admin-ajax.php").'?action=wpdevart_countdown_window_manager&height=750&width=640">
53
  <span class="wp-media-buttons-icon" style="background: url('.$img.'); background-repeat: no-repeat; background-position: left bottom;"></span>
54
  Add Countdown
55
  </a>';
56
- return $context;
57
  }
58
 
59
  /*############ Insert countdown - content function ################*/
27
  // include requered files
28
  $this->include_files();
29
  // Insert button code
30
+ add_action('media_buttons', array($this,'wpdevart_countdown_button'));
31
  add_action( 'wp_ajax_wpdevart_countdown_window_manager', array($this,'wpdevart_countdown_window_insert_content') );
32
  /*gutenberg editor integration*/
33
  $this->integrete_gutenberg();
44
  }
45
  /*############################### Insert button function ########################################*/
46
 
47
+ public function wpdevart_countdown_button() {
48
 
49
  $img = $this->plugin_url. 'images/post_button.jpg';
50
 
51
  $title = 'Add Countdown';
52
+ $context = '<a class="button thickbox" title="Create countdown and insert in posts/pages" href="'.admin_url("admin-ajax.php").'?action=wpdevart_countdown_window_manager&height=750&width=640">
53
  <span class="wp-media-buttons-icon" style="background: url('.$img.'); background-repeat: no-repeat; background-position: left bottom;"></span>
54
  Add Countdown
55
  </a>';
56
+ echo $context;
57
  }
58
 
59
  /*############ Insert countdown - content function ################*/
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wpdevart.com/wordpress-countdown-plugin
4
  Tags: countdown, countdown widget, countdown timer, countdown system, countdown generator
5
  Requires at least: 3.3.0
6
  Tested up to: 5.4
7
- Stable tag: 2.1.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -494,6 +494,10 @@ Yes dear users, you need to pay only one time for pro version, it's lifetime pla
494
 
495
  * Changed featured plugins list.
496
 
 
 
 
 
497
  == Step by step guide ==
498
 
499
  ### Options
4
  Tags: countdown, countdown widget, countdown timer, countdown system, countdown generator
5
  Requires at least: 3.3.0
6
  Tested up to: 5.4
7
+ Stable tag: 2.1.4
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
494
 
495
  * Changed featured plugins list.
496
 
497
+ = 2.1.4 =
498
+
499
+ * Bug fixed.
500
+
501
  == Step by step guide ==
502
 
503
  ### Options
wpdevart-countdown.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Countdown Wpdevart
4
  Plugin URI: http://wpdevart.com/wordpress-countdown-plugin/
5
  Description: Countdown plugin is an nice tool to create and insert countdown timers into your posts/pages and widgets .
6
- Version: 2.1.3
7
  Author: wpdevart
8
  Author URI: http://wpdevart.com
9
  License: GPL3 http://www.gnu.org/licenses/gpl-3.0.html
3
  Plugin Name: Countdown Wpdevart
4
  Plugin URI: http://wpdevart.com/wordpress-countdown-plugin/
5
  Description: Countdown plugin is an nice tool to create and insert countdown timers into your posts/pages and widgets .
6
+ Version: 2.1.4
7
  Author: wpdevart
8
  Author URI: http://wpdevart.com
9
  License: GPL3 http://www.gnu.org/licenses/gpl-3.0.html