Event Calendar WD – Responsive Event Calendar plugin - Version 1.1.34

Version Description

  • Fixed: Minor bug.
Download this release

Release Info

Developer 10web
Plugin Icon 128x128 Event Calendar WD – Responsive Event Calendar plugin
Version 1.1.34
Comparing to
See all releases

Code changes from version 1.1.33 to 1.1.34

css/style.css CHANGED
@@ -237,6 +237,7 @@ table.cal_blue.ecwd_calendar_container .week-number span {
237
  }
238
 
239
  table.cal_blue.ecwd_calendar_container .event-details div {
 
240
  word-wrap: break-word;
241
  white-space: normal;
242
  }
@@ -836,6 +837,7 @@ div.ecwd-page-full td.has-events {
836
  box-shadow: 0 1px 2px rgba(1,2,2,.2);
837
  }
838
  table.cal_blue.ecwd_calendar_container select {
 
839
  padding:6px;
840
  width:auto;
841
  font-size:1.4em;
@@ -929,6 +931,7 @@ table.cal_blue.ecwd_calendar_container select {
929
  font-style: italic;
930
  line-height: 17px;
931
  word-wrap: break-word;
 
932
  }
933
  .event-details-container .event-details-title h5 a {
934
  color: #585858;
237
  }
238
 
239
  table.cal_blue.ecwd_calendar_container .event-details div {
240
+ word-break: break-word;
241
  word-wrap: break-word;
242
  white-space: normal;
243
  }
837
  box-shadow: 0 1px 2px rgba(1,2,2,.2);
838
  }
839
  table.cal_blue.ecwd_calendar_container select {
840
+ word-break: break-word;
841
  padding:6px;
842
  width:auto;
843
  font-size:1.4em;
931
  font-style: italic;
932
  line-height: 17px;
933
  word-wrap: break-word;
934
+ word-break: break-word;
935
  }
936
  .event-details-container .event-details-title h5 a {
937
  color: #585858;
ecwd.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Event Calendar WD
4
  * Plugin URI: https://10web.io/plugins/wordpress-event-calendar/
5
  * Description: Event Calendar WD is an easy event management and planning tool with advanced features.
6
- * Version: 1.1.33
7
  * Author: 10Web
8
  * Author URI: https://10web.io/plugins/
9
  * Text Domain: event-calendar-wd
@@ -28,7 +28,7 @@ if(! defined( 'ECWD_URL' ) ){
28
  }
29
 
30
  if (!defined('ECWD_VERSION')) {
31
- define('ECWD_VERSION', "1.1.33");
32
  }
33
 
34
  if (!defined('ECWD_PLUGIN_MAIN_FILE')) {
3
  * Plugin Name: Event Calendar WD
4
  * Plugin URI: https://10web.io/plugins/wordpress-event-calendar/
5
  * Description: Event Calendar WD is an easy event management and planning tool with advanced features.
6
+ * Version: 1.1.34
7
  * Author: 10Web
8
  * Author URI: https://10web.io/plugins/
9
  * Text Domain: event-calendar-wd
28
  }
29
 
30
  if (!defined('ECWD_VERSION')) {
31
+ define('ECWD_VERSION', "1.1.34");
32
  }
33
 
34
  if (!defined('ECWD_PLUGIN_MAIN_FILE')) {
includes/calendar-class.php CHANGED
@@ -424,7 +424,7 @@
424
  } else {
425
  $html .= '<img itemprop="image" src="' . $event['image'] . '" />';
426
  }
427
- } elseif ($image['image'] != null) {
428
  $html .= '<img itemprop="image" src="' . $image['image'] . '" />';
429
  $event['details'] = $image['content'];
430
  }
@@ -1132,7 +1132,7 @@
1132
  } else {
1133
  $eventcontent .= '<img itemprop="image" src="' . $cellevent['image'] . '" />';
1134
  }
1135
- } elseif ($image['image'] != null) {
1136
  $eventcontent .= '<img itemprop="image" src="' . $image['image'] . '" />';
1137
  $cellevent['details'] = $image['content'];
1138
  }
@@ -1193,7 +1193,7 @@
1193
  } else {
1194
  $html .= '<img itemprop="image" src="' . $cellevent['image'] . '" />';
1195
  }
1196
- } elseif ($image['image'] != null) {
1197
  $html .= '<img itemprop="image" src="' . $image['image'] . '" />';
1198
  $cellevent['details'] = $image['content'];
1199
  }
424
  } else {
425
  $html .= '<img itemprop="image" src="' . $event['image'] . '" />';
426
  }
427
+ } elseif (isset($image['image'])) {
428
  $html .= '<img itemprop="image" src="' . $image['image'] . '" />';
429
  $event['details'] = $image['content'];
430
  }
1132
  } else {
1133
  $eventcontent .= '<img itemprop="image" src="' . $cellevent['image'] . '" />';
1134
  }
1135
+ } elseif (isset($image['image'])) {
1136
  $eventcontent .= '<img itemprop="image" src="' . $image['image'] . '" />';
1137
  $cellevent['details'] = $image['content'];
1138
  }
1193
  } else {
1194
  $html .= '<img itemprop="image" src="' . $cellevent['image'] . '" />';
1195
  }
1196
+ } elseif (isset($image['image'])) {
1197
  $html .= '<img itemprop="image" src="' . $image['image'] . '" />';
1198
  $cellevent['details'] = $image['content'];
1199
  }
includes/ecwd-cpt-class.php CHANGED
@@ -127,8 +127,8 @@ class ECWD_Cpt {
127
  }
128
 
129
  public function add_thumbnails_for_themes() {
130
- global $ecwd_config;
131
- if ($ecwd_config['featured_image_for_themes']['value'] == '1') {
132
  add_theme_support('post-thumbnails', array('ecwd_calendar', 'ecwd_organizer', 'ecwd_event', 'ecwd_venue'));
133
  }
134
  }
127
  }
128
 
129
  public function add_thumbnails_for_themes() {
130
+ global $ecwd_config;
131
+ if (isset($ecwd_config['featured_image_for_themes']['value']) && $ecwd_config['featured_image_for_themes']['value'] == '1') {
132
  add_theme_support('post-thumbnails', array('ecwd_calendar', 'ecwd_organizer', 'ecwd_event', 'ecwd_venue'));
133
  }
134
  }
includes/ecwd-functions.php CHANGED
@@ -274,8 +274,9 @@ function replaceFirstImages($content) {
274
  }
275
 
276
  function ecwd_event_popup_ajax() {
277
- $ajax_start_date = isset($_POST['start_date']) ? sanitize_text_field($_POST['start_date']) : null;
278
- $ajax_end_date = isset($_POST['end_date']) ? sanitize_text_field($_POST['end_date']) : null;
 
279
 
280
  if (isset($_POST['id'])) {
281
  $post_id = sanitize_text_field(($_POST['id']));
274
  }
275
 
276
  function ecwd_event_popup_ajax() {
277
+
278
+ $ajax_start_date = isset($_POST['start_date']) ? sanitize_title($_POST['start_date']) : null;
279
+ $ajax_end_date = isset($_POST['end_date']) ? sanitize_title($_POST['end_date']) : null;
280
 
281
  if (isset($_POST['id'])) {
282
  $post_id = sanitize_text_field(($_POST['id']));
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: 5.3
6
  Requires PHP: 5.2
7
- Stable tag: 1.1.33
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -345,6 +345,9 @@ After downloading the ZIP file of the Event Calendar WD plugin,
345
  Event Calendar WD plugin optionally embeds Google Maps on front end to display events on the map. Embedded Google Maps behave in the exact same way as if visitor has opened Google Maps site. Google may collect data about visitors, use cookies and tracking, included their logged-in experience interaction with Google platform. Google Maps are regulated under terms of Google privacy policy https://policies.google.com/privacy. The plugin asks for your consent to collect site administrator’s email address and site URL to offer customer support, deals and discounts on premium products and more.
346
 
347
  == Changelog ==
 
 
 
348
  = 1.1.33 =
349
  * Fixed: Icons conflict on pages with calendar while editing.
350
  * Fixed: Vulnerability issues.
4
  Requires at least: 3.9
5
  Tested up to: 5.3
6
  Requires PHP: 5.2
7
+ Stable tag: 1.1.34
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
345
  Event Calendar WD plugin optionally embeds Google Maps on front end to display events on the map. Embedded Google Maps behave in the exact same way as if visitor has opened Google Maps site. Google may collect data about visitors, use cookies and tracking, included their logged-in experience interaction with Google platform. Google Maps are regulated under terms of Google privacy policy https://policies.google.com/privacy. The plugin asks for your consent to collect site administrator’s email address and site URL to offer customer support, deals and discounts on premium products and more.
346
 
347
  == Changelog ==
348
+ = 1.1.34 =
349
+ * Fixed: Minor bug.
350
+
351
  = 1.1.33 =
352
  * Fixed: Icons conflict on pages with calendar while editing.
353
  * Fixed: Vulnerability issues.