Event Calendar WD – Responsive Event Calendar plugin - Version 1.1.37

Version Description

  • Fixed: Remove all shortcode on ld+json.
  • Fixed: Issue with timezone.
Download this release

Release Info

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

Code changes from version 1.1.36 to 1.1.37

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.36
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.36");
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.37
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.37");
32
  }
33
 
34
  if (!defined('ECWD_PLUGIN_MAIN_FILE')) {
includes/calendar-class.php CHANGED
@@ -1410,7 +1410,7 @@
1410
  '@context' => 'https://schema.org',
1411
  '@type' => 'Event',
1412
  'name' => $args['title'],
1413
- 'description' => strip_tags($args['details']),
1414
  'image' => get_the_post_thumbnail_url($args['id']),
1415
  'startDate' => $startDate,
1416
  'endDate' => $endDate,
1410
  '@context' => 'https://schema.org',
1411
  '@type' => 'Event',
1412
  'name' => $args['title'],
1413
+ 'description' => strip_tags(preg_replace('/\\r|\\n|(\[(.*)\])/i', "", $args['details'])),
1414
  'image' => get_the_post_thumbnail_url($args['id']),
1415
  'startDate' => $startDate,
1416
  'endDate' => $endDate,
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.4
6
  Requires PHP: 5.2
7
- Stable tag: 1.1.36
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -345,6 +345,11 @@ 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.36 =
349
  * Fixed: Warnings in Google structured data.
350
 
4
  Requires at least: 3.9
5
  Tested up to: 5.4
6
  Requires PHP: 5.2
7
+ Stable tag: 1.1.37
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
+
349
+ = 1.1.37 =
350
+ * Fixed: Remove all shortcode on ld+json.
351
+ * Fixed: Issue with timezone.
352
+
353
  = 1.1.36 =
354
  * Fixed: Warnings in Google structured data.
355
 
views/ecwd-event-content.php CHANGED
@@ -14,7 +14,7 @@ $json_ld = array(
14
  '@context' => 'https://schema.org',
15
  '@type' => 'Event',
16
  'name' => $post->post_title,
17
- 'description' => strip_tags($post->post_content),
18
  'image' => get_the_post_thumbnail_url($post->ID),
19
  'eventAttendanceMode' => 'https://schema.org/MixedEventAttendanceMode',
20
  'eventStatus' => 'https://schema.org/EventScheduled'
@@ -539,9 +539,9 @@ if (!empty($calendars_id)) {
539
  } ?>
540
  </div>
541
  <script id="ecwd_script_handler" type="text/javascript">
542
- if (typeof ecwd_js_init_call == "object") {
543
- ecwd_js_init_call = new ecwd_js_init();
544
- ecwd_js_init_call.showMap();
545
- }
546
  </script>
547
- <script type="application/ld+json"><?php echo json_encode($json_ld); ?></script>
14
  '@context' => 'https://schema.org',
15
  '@type' => 'Event',
16
  'name' => $post->post_title,
17
+ 'description' => strip_tags(preg_replace('/\\r|\\n|(\[(.*)\])/i', "", $post->post_content)),
18
  'image' => get_the_post_thumbnail_url($post->ID),
19
  'eventAttendanceMode' => 'https://schema.org/MixedEventAttendanceMode',
20
  'eventStatus' => 'https://schema.org/EventScheduled'
539
  } ?>
540
  </div>
541
  <script id="ecwd_script_handler" type="text/javascript">
542
+ if (typeof ecwd_js_init_call == "object") {
543
+ ecwd_js_init_call = new ecwd_js_init();
544
+ ecwd_js_init_call.showMap();
545
+ }
546
  </script>
547
+ <script id="ecwd_ld_json" type="application/ld+json"><?php echo json_encode($json_ld); ?></script>