Event Calendar WD – Responsive Event Calendar plugin - Version 1.1.21

Version Description

  • Fixed: PHP 5.4 error and minor style issues
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Event Calendar WD – Responsive Event Calendar plugin
Version 1.1.21
Comparing to
See all releases

Code changes from version 1.1.20 to 1.1.21

changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  = 1.1.20 =
2
  * New: Reset option for settings
3
  * New: Notices about extensions compatibility (Premium)
1
+ = 1.1.21 =
2
+ * Fixed: PHP 5.4 error and minor style issues
3
+
4
  = 1.1.20 =
5
  * New: Reset option for settings
6
  * New: Notices about extensions compatibility (Premium)
css/style.css CHANGED
@@ -5,7 +5,9 @@
5
 
6
  /* Base line-height for all views & tooltip */
7
 
8
-
 
 
9
 
10
  .calendar_main:after, #ecwd-events-content .event-detalis:after,
11
  .ecwd_list .event-organizers:after,
5
 
6
  /* Base line-height for all views & tooltip */
7
 
8
+ .calendar_widget_content table .events li .event-details-container {
9
+ display: none;
10
+ }
11
 
12
  .calendar_main:after, #ecwd-events-content .event-detalis:after,
13
  .ecwd_list .event-organizers:after,
ecwd.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Event Calendar WD
4
  * Plugin URI: https://web-dorado.com/products/wordpress-event-calendar-wd.html
5
  * Description: Event Calendar WD is an easy event management and planning tool with advanced features.
6
- * Version: 1.1.20
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
9
  * Text Domain: event-calendar-wd
@@ -25,7 +25,7 @@ if (!defined('ECWD_URL')) {
25
  }
26
 
27
  if (!defined('ECWD_VERSION')) {
28
- define('ECWD_VERSION', "1.1.20");
29
  }
30
 
31
  if (!defined('ECWD_PLUGIN_MAIN_FILE')) {
3
  * Plugin Name: Event Calendar WD
4
  * Plugin URI: https://web-dorado.com/products/wordpress-event-calendar-wd.html
5
  * Description: Event Calendar WD is an easy event management and planning tool with advanced features.
6
+ * Version: 1.1.21
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
9
  * Text Domain: event-calendar-wd
25
  }
26
 
27
  if (!defined('ECWD_VERSION')) {
28
+ define('ECWD_VERSION', "1.1.21");
29
  }
30
 
31
  if (!defined('ECWD_PLUGIN_MAIN_FILE')) {
ecwd_admin_class.php CHANGED
@@ -190,8 +190,8 @@ class ECWD_Admin {
190
 
191
  $start_date = date('Y/m/d H:i', strtotime($today . "+1 days"));
192
  $end_date = date('Y/m/d H:i', strtotime($start_date . "+1 hour"));
193
-
194
- if(empty(get_post_meta($post_id, 'ecwd_event_date_from', true))) {
195
  update_post_meta($post_id, 'ecwd_event_date_from', $start_date);
196
  update_post_meta($post_id, 'ecwd_event_date_to', $end_date);
197
  }
190
 
191
  $start_date = date('Y/m/d H:i', strtotime($today . "+1 days"));
192
  $end_date = date('Y/m/d H:i', strtotime($start_date . "+1 hour"));
193
+ $date_from = get_post_meta($post_id, 'ecwd_event_date_from', true);
194
+ if(empty($date_from)) {
195
  update_post_meta($post_id, 'ecwd_event_date_from', $start_date);
196
  update_post_meta($post_id, 'ecwd_event_date_to', $end_date);
197
  }
includes/ecwd-cpt-filter.php CHANGED
@@ -69,14 +69,14 @@ if (!class_exists('Tax_CTP_Filter')) {
69
  id="<?php echo ECWD_PLUGIN_PREFIX; ?>_date_from_filter"
70
  name="<?php echo ECWD_PLUGIN_PREFIX; ?>_date_from_filter"
71
  class="<?php echo ECWD_PLUGIN_PREFIX; ?>_event_date"
72
- value="<?php echo isset($_GET[ECWD_PLUGIN_PREFIX.'_date_from_filter'])? htmlentities(sanitize_text_field($_GET[ECWD_PLUGIN_PREFIX.'_date_from_filter'])): ''; ?>" />
73
  <?php
74
  _e('To', 'event-calendar-wd');?>
75
  <input type="text" style="width: 90px"
76
  id="<?php echo ECWD_PLUGIN_PREFIX; ?>_date_to_filter"
77
  name="<?php echo ECWD_PLUGIN_PREFIX; ?>_date_to_filter"
78
  class="<?php echo ECWD_PLUGIN_PREFIX; ?>_event_date"
79
- value="<?php echo isset($_GET[ECWD_PLUGIN_PREFIX.'_date_to_filter'])? htmlentities(sanitize_text_field($_GET[ECWD_PLUGIN_PREFIX.'_date_to_filter'])): ''; ?>" />
80
  </div>
81
  <a href="<?php echo admin_url( 'edit.php?post_type=ecwd_event' );?>" class="button" ><?php _e('Reset','event-calendar-wd')?></a>
82
  <?php
69
  id="<?php echo ECWD_PLUGIN_PREFIX; ?>_date_from_filter"
70
  name="<?php echo ECWD_PLUGIN_PREFIX; ?>_date_from_filter"
71
  class="<?php echo ECWD_PLUGIN_PREFIX; ?>_event_date"
72
+ value="<?php echo isset($_GET[ECWD_PLUGIN_PREFIX.'_date_from_filter'])? htmlentities(sanitize_text_field($_GET[ECWD_PLUGIN_PREFIX.'_date_from_filter'])): ''; ?>" autocomplete="off"/>
73
  <?php
74
  _e('To', 'event-calendar-wd');?>
75
  <input type="text" style="width: 90px"
76
  id="<?php echo ECWD_PLUGIN_PREFIX; ?>_date_to_filter"
77
  name="<?php echo ECWD_PLUGIN_PREFIX; ?>_date_to_filter"
78
  class="<?php echo ECWD_PLUGIN_PREFIX; ?>_event_date"
79
+ value="<?php echo isset($_GET[ECWD_PLUGIN_PREFIX.'_date_to_filter'])? htmlentities(sanitize_text_field($_GET[ECWD_PLUGIN_PREFIX.'_date_to_filter'])): ''; ?>" autocomplete="off"/>
80
  </div>
81
  <a href="<?php echo admin_url( 'edit.php?post_type=ecwd_event' );?>" class="button" ><?php _e('Reset','event-calendar-wd')?></a>
82
  <?php
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: calendar, date, event, event calendar, events, events calendar, meeting, o
4
  Requires at least: 3.9
5
  Tested up to: 4.9
6
  Requires PHP: 5.2
7
- Stable tag: 1.1.20
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -347,6 +347,9 @@ Event Calendar WD plugin optionally embeds Google Maps on front end to display e
347
 
348
  == Changelog ==
349
 
 
 
 
350
  = 1.1.20 =
351
  * New: Reset option for settings
352
  * New: Notices about extensions compatibility (Premium)
4
  Requires at least: 3.9
5
  Tested up to: 4.9
6
  Requires PHP: 5.2
7
+ Stable tag: 1.1.21
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
347
 
348
  == Changelog ==
349
 
350
+ = 1.1.21 =
351
+ * Fixed: PHP 5.4 error and minor style issues
352
+
353
  = 1.1.20 =
354
  * New: Reset option for settings
355
  * New: Notices about extensions compatibility (Premium)
views/admin/ecwd-event-meta.php CHANGED
@@ -32,7 +32,6 @@ if($single_event->get_is_default_dates() === false){
32
  id="<?php echo ECWD_PLUGIN_PREFIX; ?>_event_date_to"
33
  class="<?php echo ECWD_PLUGIN_PREFIX; ?>_event_date"
34
  value="<?php echo $end_date; ?>" autocomplete="off"/>
35
-
36
  <!-- <div id="-->
37
  <?php //echo ECWD_PLUGIN_PREFIX; ?><!--_event_pickup_date" class="button" value="">Days</div>-->
38
  <!-- <div id="-->
32
  id="<?php echo ECWD_PLUGIN_PREFIX; ?>_event_date_to"
33
  class="<?php echo ECWD_PLUGIN_PREFIX; ?>_event_date"
34
  value="<?php echo $end_date; ?>" autocomplete="off"/>
 
35
  <!-- <div id="-->
36
  <?php //echo ECWD_PLUGIN_PREFIX; ?><!--_event_pickup_date" class="button" value="">Days</div>-->
37
  <!-- <div id="-->