Event Calendar WD – Responsive Event Calendar plugin - Version 1.0.94

Version Description

Download this release

Release Info

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

Code changes from version 1.0.93 to 1.0.94

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.0.93
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -24,7 +24,7 @@ if (!defined('ECWD_URL')) {
24
  }
25
 
26
  if (!defined('ECWD_VERSION')) {
27
- define('ECWD_VERSION', "1.0.93");
28
  }
29
 
30
  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.0.94
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
24
  }
25
 
26
  if (!defined('ECWD_VERSION')) {
27
+ define('ECWD_VERSION', "1.0.94");
28
  }
29
 
30
  if (!defined('ECWD_PLUGIN_MAIN_FILE')) {
ecwd_admin_class.php CHANGED
@@ -6,7 +6,7 @@
6
  class ECWD_Admin {
7
 
8
  protected static $instance = null;
9
- protected $version = '1.0.93';
10
  protected $ecwd_page = null;
11
  protected $notices = null;
12
 
6
  class ECWD_Admin {
7
 
8
  protected static $instance = null;
9
+ protected $version = '1.0.94';
10
  protected $ecwd_page = null;
11
  protected $notices = null;
12
 
ecwd_class.php CHANGED
@@ -6,7 +6,7 @@
6
  */
7
  class ECWD {
8
 
9
- protected $version = '1.0.93';
10
  protected $plugin_name = 'event-calendar-wd';
11
  protected $prefix = 'ecwd';
12
  protected static $instance = null;
6
  */
7
  class ECWD {
8
 
9
+ protected $version = '1.0.94';
10
  protected $plugin_name = 'event-calendar-wd';
11
  protected $prefix = 'ecwd';
12
  protected static $instance = null;
includes/ecwd-cpt-filter.php CHANGED
@@ -31,7 +31,7 @@ if (!class_exists('Tax_CTP_Filter')) {
31
  $tax_name = $tax_obj->labels->name;
32
  echo "<select name='" . strtolower($tax_slug) . "' id='" . strtolower($tax_slug) . "' class='postform'>";
33
  echo "<option value=''>All $tax_name</option>";
34
- $this->generate_taxonomy_options($tax_slug, 0, 0, (isset($_GET[strtolower($tax_slug)])) ? $_GET[strtolower($tax_slug)] : null);
35
 
36
  } else {
37
 
@@ -54,7 +54,7 @@ if (!class_exists('Tax_CTP_Filter')) {
54
  'showposts' => -1,
55
  'order' => 'ASC'
56
  ));
57
- $selected = isset($_GET[strtolower($tax_slug). '_filter']) ? $_GET[strtolower($tax_slug). '_filter'] : null;
58
  echo "<select name='" . strtolower($tax_slug) . "_filter' id='" . strtolower($tax_slug) . "_filter' class='postform'>";
59
  echo "<option value=''>All $tax_name</option>";
60
  foreach ($tax_obj as $term) {
@@ -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'])? $_GET[ECWD_PLUGIN_PREFIX.'_date_from_filter']: ''; ?>" />
73
  <?php
74
  _e('To', 'ecwd');?>
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'])? $_GET[ECWD_PLUGIN_PREFIX.'_date_to_filter']: ''; ?>" />
80
  </div>
81
  <a href="<?php echo admin_url( 'edit.php?post_type=ecwd_event' );?>" class="button" >Reset</a>
82
  <?php
31
  $tax_name = $tax_obj->labels->name;
32
  echo "<select name='" . strtolower($tax_slug) . "' id='" . strtolower($tax_slug) . "' class='postform'>";
33
  echo "<option value=''>All $tax_name</option>";
34
+ $this->generate_taxonomy_options($tax_slug, 0, 0, (isset($_GET[strtolower($tax_slug)])) ? sanitize_text_field($_GET[strtolower($tax_slug)]) : null);
35
 
36
  } else {
37
 
54
  'showposts' => -1,
55
  'order' => 'ASC'
56
  ));
57
+ $selected = isset($_GET[strtolower($tax_slug). '_filter']) ? sanitize_text_field($_GET[strtolower($tax_slug). '_filter']) : null;
58
  echo "<select name='" . strtolower($tax_slug) . "_filter' id='" . strtolower($tax_slug) . "_filter' class='postform'>";
59
  echo "<option value=''>All $tax_name</option>";
60
  foreach ($tax_obj as $term) {
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', 'ecwd');?>
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" >Reset</a>
82
  <?php
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado,wdsupport
3
  Donate link: https://web-dorado.com/products/wordpress-event-calendar-wd.html
4
  Tags: calendar, date, event, event calendar, events, events calendar, meeting, organizer, recurring, reservation, responsive, schedule
5
  Requires at least: 3.9
6
- Tested up to: 4.7
7
- Stable tag: 1.0.93
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -245,6 +245,9 @@ After downloading the ZIP file of the Event Calendar WD plugin,
245
 
246
  == Changelog ==
247
 
 
 
 
248
  = 1.0.93 =
249
  * Fixed: Bug on organizer view
250
 
3
  Donate link: https://web-dorado.com/products/wordpress-event-calendar-wd.html
4
  Tags: calendar, date, event, event calendar, events, events calendar, meeting, organizer, recurring, reservation, responsive, schedule
5
  Requires at least: 3.9
6
+ Tested up to: 4.8
7
+ Stable tag: 1.0.94
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
245
 
246
  == Changelog ==
247
 
248
+ = 1.0.93 =
249
+ * Fixed: Security issue
250
+
251
  = 1.0.93 =
252
  * Fixed: Bug on organizer view
253