Calendar by WD – Responsive Event Calendar - Version 1.5.44

Version Description

Fixed: Minor bug

Download this release

Release Info

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

Code changes from version 1.5.43 to 1.5.44

calendar.php CHANGED
@@ -3,11 +3,11 @@
3
  Plugin Name: Spider Event Calendar
4
  Plugin URI: https://web-dorado.com/products/wordpress-calendar.html
5
  Description: Spider Event Calendar is a highly configurable product which allows you to have multiple organized events. Spider Event Calendar is an extraordinary user friendly extension.
6
- Version: 1.5.43
7
  Author: https://web-dorado.com/
8
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
10
- $wd_spider_calendar_version="1.5.43";
11
  // LANGUAGE localization.
12
  function sp_calendar_language_load() {
13
  load_plugin_textdomain('sp_calendar', FALSE, basename(dirname(__FILE__)) . '/languages');
@@ -398,16 +398,15 @@ function spider_calendar_quick_update() {
398
  '%s',
399
  ), array('%d'));
400
  $row = $wpdb->get_row($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "spidercalendar_calendar WHERE id='%d'", (int) $_POST['calendar_id']));
401
-
402
  $calendar_format = esc_sql(esc_html(stripslashes($_POST['us_12_format_sp_calendar'])));
403
 
404
- $all_times = $wpdb->get_col("SELECT time FROM " . $wpdb->prefix . "spidercalendar_event",0);
405
- $all_ids = $wpdb->get_col("SELECT id FROM " . $wpdb->prefix . "spidercalendar_event",0);
406
- for($i = 0; $i < count($all_times); $i++){
407
- if($all_times[$i]!=null){
408
  $wpdb->update($wpdb->prefix . 'spidercalendar_event', array(
409
- 'time' => convert_time($calendar_format, $all_times[$i])
410
- ), array('id' => $all_ids[$i]), array(
411
  '%s'
412
  ));
413
  }
3
  Plugin Name: Spider Event Calendar
4
  Plugin URI: https://web-dorado.com/products/wordpress-calendar.html
5
  Description: Spider Event Calendar is a highly configurable product which allows you to have multiple organized events. Spider Event Calendar is an extraordinary user friendly extension.
6
+ Version: 1.5.44
7
  Author: https://web-dorado.com/
8
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
10
+ $wd_spider_calendar_version="1.5.44";
11
  // LANGUAGE localization.
12
  function sp_calendar_language_load() {
13
  load_plugin_textdomain('sp_calendar', FALSE, basename(dirname(__FILE__)) . '/languages');
398
  '%s',
399
  ), array('%d'));
400
  $row = $wpdb->get_row($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "spidercalendar_calendar WHERE id='%d'", (int) $_POST['calendar_id']));
 
401
  $calendar_format = esc_sql(esc_html(stripslashes($_POST['us_12_format_sp_calendar'])));
402
 
403
+ $events_list = $wpdb->get_results($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "spidercalendar_event WHERE calendar='%d'", (int) $_POST['calendar_id']));
404
+
405
+ for($i = 0; $i < count($events_list); $i++){
406
+ if($events_list[$i]->time!=''){
407
  $wpdb->update($wpdb->prefix . 'spidercalendar_event', array(
408
+ 'time' => convert_time($calendar_format, $events_list[$i]->time)
409
+ ), array('id' => $events_list[$i]->id), array(
410
  '%s'
411
  ));
412
  }
calendar_functions.html.php CHANGED
@@ -1789,10 +1789,10 @@ ON " . $wpdb->prefix . "spidercalendar_event.category=" . $wpdb->prefix . "spide
1789
  </td>
1790
  <?php } if ($calendar->time_format == 0) { ?>
1791
  <td>
1792
- <input type="text" id="selhour_from" name="selhour_from" size="1" style="text-align:right" onKeyPress="return checkhour('selhour_from',event)" value="" title="from" onBlur="add_0('selhour_from')"/> <b>:</b>
1793
  <input type="text" id="selminute_from" name="selminute_from" size="1" style="text-align:right" onKeyPress="return checkminute('selminute_from',event)" value="" title="from" onBlur="add_0('selminute_from')"/>
1794
  <span style="font-size:12px">&nbsp;-&nbsp;</span>
1795
- <input type="text" id="selhour_to" name="selhour_to" size="1" style="text-align:right" onKeyPress="return checkhour('selhour_to',event)" value="" title="to" onBlur="add_0('selhour_to')"/> <b>:</b>
1796
  <input type="text" id="selminute_to" name="selminute_to" size="1" style="text-align:right" onKeyPress="return checkminute('selminute_to',event)" value="" title="to" onBlur="add_0('selminute_to')"/>
1797
  </td>
1798
  <?php }?>
@@ -2267,14 +2267,12 @@ function html_edit_spider_event($row, $calendar_id, $id, $cal_name) {
2267
  ?>
2268
  <?php if ($calendar->time_format == 0) { ?>
2269
  <input type="text" id="selhour_from" name="selhour_from" size="1" style="text-align:right"
2270
- onkeypress="return checkhour('selhour_from',event)" value="<?php echo $from[0]; ?>" title="from"
2271
- onblur="add_0('selhour_from')"/> <b>:</b>
2272
  <input type="text" id="selminute_from" name="selminute_from" size="1" style="text-align:right"
2273
  onkeypress="return checkminute('selminute_from',event)" value="<?php echo substr($from[1], 0, 2); ?>"
2274
  title="from" onBlur="add_0('selminute_from')"/> <span style="font-size:12px">&nbsp;-&nbsp;</span>
2275
  <input type="text" id="selhour_to" name="selhour_to" size="1" style="text-align:right"
2276
- onkeypress="return checkhour('selhour_to',event)" value="<?php echo $to[0]; ?>" title="to"
2277
- onblur="add_0('selhour_to')"/> <b>:</b>
2278
  <input type="text" id="selminute_to" name="selminute_to" size="1" style="text-align:right"
2279
  onkeypress="return checkminute('selminute_to',event)" value="<?php echo substr($to[1], 0, 2); ?>"
2280
  title="to" onBlur="add_0('selminute_to')"/>
@@ -2282,7 +2280,7 @@ function html_edit_spider_event($row, $calendar_id, $id, $cal_name) {
2282
  if ($calendar->time_format == 1) { ?>
2283
  <input type="text" id="selhour_from" name="selhour_from" size="1" style="text-align:right"
2284
  onkeypress="return check12hour('selhour_from',event)" value="<?php echo $from[0]; ?>" title="from"
2285
- onblur="add_0('selhour_from')"/> <b>:</b>
2286
  <input type="text" id="selminute_from" name="selminute_from" size="1" style="text-align:right"
2287
  onkeypress="return checkminute('selminute_from',event)" value="<?php echo substr($from[1], 0, 2); ?>"
2288
  title="from" onBlur="add_0('selminute_from')"/>
@@ -2297,7 +2295,7 @@ function html_edit_spider_event($row, $calendar_id, $id, $cal_name) {
2297
  <span style="font-size:12px">&nbsp;-&nbsp;</span>
2298
  <input type="text" id="selhour_to" name="selhour_to" size="1" style="text-align:right"
2299
  onkeypress="return check12hour('selhour_to',event)" value="<?php echo $to[0]; ?>" title="to"
2300
- onblur="add_0('selhour_to')"/> <b>:</b>
2301
  <input type="text" id="selminute_to" name="selminute_to" size="1" style="text-align:right"
2302
  onkeypress="return checkminute('selminute_to',event)" value="<?php echo substr($to[1], 0, 2); ?>"
2303
  title="to" onBlur="add_0('selminute_to')"/>
1789
  </td>
1790
  <?php } if ($calendar->time_format == 0) { ?>
1791
  <td>
1792
+ <input type="text" id="selhour_from" name="selhour_from" size="1" style="text-align:right" onKeyPress="return checkhour('selhour_from',event)" value="" title="from" /> <b>:</b>
1793
  <input type="text" id="selminute_from" name="selminute_from" size="1" style="text-align:right" onKeyPress="return checkminute('selminute_from',event)" value="" title="from" onBlur="add_0('selminute_from')"/>
1794
  <span style="font-size:12px">&nbsp;-&nbsp;</span>
1795
+ <input type="text" id="selhour_to" name="selhour_to" size="1" style="text-align:right" onKeyPress="return checkhour('selhour_to',event)" value="" title="to" /> <b>:</b>
1796
  <input type="text" id="selminute_to" name="selminute_to" size="1" style="text-align:right" onKeyPress="return checkminute('selminute_to',event)" value="" title="to" onBlur="add_0('selminute_to')"/>
1797
  </td>
1798
  <?php }?>
2267
  ?>
2268
  <?php if ($calendar->time_format == 0) { ?>
2269
  <input type="text" id="selhour_from" name="selhour_from" size="1" style="text-align:right"
2270
+ onkeypress="return checkhour('selhour_from',event)" value="<?php echo $from[0]; ?>" title="from" /> <b>:</b>
 
2271
  <input type="text" id="selminute_from" name="selminute_from" size="1" style="text-align:right"
2272
  onkeypress="return checkminute('selminute_from',event)" value="<?php echo substr($from[1], 0, 2); ?>"
2273
  title="from" onBlur="add_0('selminute_from')"/> <span style="font-size:12px">&nbsp;-&nbsp;</span>
2274
  <input type="text" id="selhour_to" name="selhour_to" size="1" style="text-align:right"
2275
+ onkeypress="return checkhour('selhour_to',event)" value="<?php echo $to[0]; ?>" title="to" /> <b>:</b>
 
2276
  <input type="text" id="selminute_to" name="selminute_to" size="1" style="text-align:right"
2277
  onkeypress="return checkminute('selminute_to',event)" value="<?php echo substr($to[1], 0, 2); ?>"
2278
  title="to" onBlur="add_0('selminute_to')"/>
2280
  if ($calendar->time_format == 1) { ?>
2281
  <input type="text" id="selhour_from" name="selhour_from" size="1" style="text-align:right"
2282
  onkeypress="return check12hour('selhour_from',event)" value="<?php echo $from[0]; ?>" title="from"
2283
+ /> <b>:</b>
2284
  <input type="text" id="selminute_from" name="selminute_from" size="1" style="text-align:right"
2285
  onkeypress="return checkminute('selminute_from',event)" value="<?php echo substr($from[1], 0, 2); ?>"
2286
  title="from" onBlur="add_0('selminute_from')"/>
2295
  <span style="font-size:12px">&nbsp;-&nbsp;</span>
2296
  <input type="text" id="selhour_to" name="selhour_to" size="1" style="text-align:right"
2297
  onkeypress="return check12hour('selhour_to',event)" value="<?php echo $to[0]; ?>" title="to"
2298
+ /> <b>:</b>
2299
  <input type="text" id="selminute_to" name="selminute_to" size="1" style="text-align:right"
2300
  onkeypress="return checkminute('selminute_to',event)" value="<?php echo substr($to[1], 0, 2); ?>"
2301
  title="to" onBlur="add_0('selminute_to')"/>
readme.txt CHANGED
@@ -1,15 +1,15 @@
1
  === Calendar Event ===
2
  Contributors: webdorado
3
  Donate link: https://web-dorado.com/products/wordpress-calendar.html
4
- Tags: calendar, calendars, event, event calendar, event manager, events calendar,calendar widget, event registration, event management,events, Kalender, agenda, calendario, availability calendar,online calendar, scheduling, Calender, upcoming events, event widget , event list, Organizer, meeting, appointment, event tracking, event organizer, event page, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit, reservation, booking calendar
5
  Requires at least: 3.4
6
- Tested up to: 4.5
7
- Stable tag: 1.5.43
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
 
11
 
12
- Spider Event Calendar is a highly configurable product which allows you to have multiple organized events.
13
  == Description ==
14
  WordPress event calendar is a FREE user-friendly responsive plugin to manage multiple recurring events and with various options.
15
 
@@ -142,6 +142,9 @@ Vietnamese (vi)
142
 
143
  == Changelog ==
144
 
 
 
 
145
  = 1.5.43 =
146
  Changed: Category color picker
147
 
1
  === Calendar Event ===
2
  Contributors: webdorado
3
  Donate link: https://web-dorado.com/products/wordpress-calendar.html
4
+ Tags: calendar, date, event, event calendar, events, events calendar, meeting, organizer, recurring, reservation, responsive, schedule
5
  Requires at least: 3.4
6
+ Tested up to: 4.6
7
+ Stable tag: 1.5.44
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Calendar Event plugin is a highly configurable product which allows you to have multiple organized events.
12
 
 
13
  == Description ==
14
  WordPress event calendar is a FREE user-friendly responsive plugin to manage multiple recurring events and with various options.
15
 
142
 
143
  == Changelog ==
144
 
145
+ = 1.5.44 =
146
+ Fixed: Minor bug
147
+
148
  = 1.5.43 =
149
  Changed: Category color picker
150
 
spider_calendar_admin_class.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  class SC_Admin {
4
  public static $instance = null;
5
- protected $version = '1.5.43';
6
  public $prefix = "sc_";
7
  protected $notices = null;
8
  public static function get_instance() {
2
 
3
  class SC_Admin {
4
  public static $instance = null;
5
+ protected $version = '1.5.44';
6
  public $prefix = "sc_";
7
  protected $notices = null;
8
  public static function get_instance() {