Countdown, Coming Soon – Countdown & Clock - Version 2.3.0

Version Description

  • Added compatibility with Polylang
Download this release

Release Info

Developer adamskaat
Plugin Icon 128x128 Countdown, Coming Soon – Countdown & Clock
Version 2.3.0
Comparing to
See all releases

Code changes from version 2.2.9.2 to 2.3.0

classes/Actions.php CHANGED
@@ -38,6 +38,14 @@ class Actions {
38
  add_filter('mce_external_plugins', array($this, 'editorButton'));
39
  add_action("admin_menu", array($this, 'adminMenu'));
40
  add_action('admin_action_ycd_duplicate_post_as_draft', array($this, 'duplicatePostSave'));
 
 
 
 
 
 
 
 
41
  }
42
 
43
  public function beforeDeactivateCountdown() {
38
  add_filter('mce_external_plugins', array($this, 'editorButton'));
39
  add_action("admin_menu", array($this, 'adminMenu'));
40
  add_action('admin_action_ycd_duplicate_post_as_draft', array($this, 'duplicatePostSave'));
41
+ add_filter('pll_get_post_types', array($this, 'addCptToPll'), 10, 2);
42
+ }
43
+
44
+ public function addCptToPll($postTypes, $hide)
45
+ {
46
+ $postTypes[YCD_COUNTDOWN_POST_TYPE] = YCD_COUNTDOWN_POST_TYPE;
47
+
48
+ return $postTypes;
49
  }
50
 
51
  public function beforeDeactivateCountdown() {
config/config.php CHANGED
@@ -75,8 +75,8 @@ class YcdCountdownConfig
75
  self::addDefine('YCD_CRON_REPEAT_INTERVAL', 1);
76
  self::addDefine('YCD_AJAX_SUCCESS', 1);
77
  self::addDefine('YCD_TABLE_LIMIT', 15);
78
- self::addDefine('YCD_VERSION_PRO', 2.16);
79
- self::addDefine('YCD_VERSION', 2.292);
80
  self::addDefine('YCD_FREE_VERSION', 1);
81
  self::addDefine('YCD_SILVER_VERSION', 2);
82
  self::addDefine('YCD_GOLD_VERSION', 3);
@@ -89,8 +89,8 @@ class YcdCountdownConfig
89
  $versionText = '2.1.7';
90
  }
91
  self::addDefine('YCD_VERSION_TEXT', $versionText);
92
- self::addDefine('YCD_LAST_UPDATE', 'Feb 25');
93
- self::addDefine('YCD_NEXT_UPDATE', 'March 4');
94
  }
95
 
96
  public static function displaySettings()
75
  self::addDefine('YCD_CRON_REPEAT_INTERVAL', 1);
76
  self::addDefine('YCD_AJAX_SUCCESS', 1);
77
  self::addDefine('YCD_TABLE_LIMIT', 15);
78
+ self::addDefine('YCD_VERSION_PRO', 2.17);
79
+ self::addDefine('YCD_VERSION', 2.30);
80
  self::addDefine('YCD_FREE_VERSION', 1);
81
  self::addDefine('YCD_SILVER_VERSION', 2);
82
  self::addDefine('YCD_GOLD_VERSION', 3);
89
  $versionText = '2.1.7';
90
  }
91
  self::addDefine('YCD_VERSION_TEXT', $versionText);
92
+ self::addDefine('YCD_LAST_UPDATE', 'March 3');
93
+ self::addDefine('YCD_NEXT_UPDATE', 'March 15');
94
  }
95
 
96
  public static function displaySettings()
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.2.9.2
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.0
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: 5.9
6
- Stable tag: 2.2.9.2
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -67,6 +67,9 @@ Yes you can, we have Circle and Flipclock countdown popups.
67
  You need to select the .zip file, there is no need to extract the zip file, just upload it.
68
 
69
  == Changelog ==
 
 
 
70
  = 2.2.9.2 =
71
  * Fixed Display on save issue
72
 
3
  Tags: countdown, timer, countdown timer
4
  Requires at least: 3.8
5
  Tested up to: 5.9
6
+ Stable tag: 2.3.0
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
67
  You need to select the .zip file, there is no need to extract the zip file, just upload it.
68
 
69
  == Changelog ==
70
+ = 2.3.0 =
71
+ * Added compatibility with Polylang
72
+
73
  = 2.2.9.2 =
74
  * Fixed Display on save issue
75