My Calendar - Version 3.1.17

Version Description

  • Bug fix: comma misplaced in mc_list_title_title.
  • Provide special handling in cases where multiple categories are enabled but selector is passed a non-array value.
Download this release

Release Info

Developer joedolson
Plugin Icon 128x128 My Calendar
Version 3.1.17
Comparing to
See all releases

Code changes from version 3.1.16 to 3.1.17

my-calendar-categories.php CHANGED
@@ -814,6 +814,8 @@ function mc_category_select( $data = false, $option = true, $multiple = false, $
814
if ( $multiple ) {
815
if ( is_array( $category ) && in_array( $cat->category_id, $category ) ) {
816
$selected = ' checked="checked"';
817
}
818
} else {
819
if ( $category == $cat->category_id ) {
814
if ( $multiple ) {
815
if ( is_array( $category ) && in_array( $cat->category_id, $category ) ) {
816
$selected = ' checked="checked"';
817
+ } else if ( $category == $cat->category_id ) {
818
+ $selected = ' checked="checked"';
819
}
820
} else {
821
if ( $category == $cat->category_id ) {
my-calendar-output.php CHANGED
@@ -1053,7 +1053,7 @@ function mc_list_title( $events ) {
1053
usort( $events, 'mc_time_cmp' );
1054
$now = $events[0];
1055
$count = count( $events ) - 1;
1056
- $event_title = apply_filters( 'mc_list_title_title', strip_tags( stripcslashes( $now->event_title ), mc_strip_tags(), $now ) );
1057
if ( 0 === $count ) {
1058
$cstate = $event_title;
1059
} elseif ( 1 == $count ) {
1053
usort( $events, 'mc_time_cmp' );
1054
$now = $events[0];
1055
$count = count( $events ) - 1;
1056
+ $event_title = apply_filters( 'mc_list_title_title', strip_tags( stripcslashes( $now->event_title ), mc_strip_tags() ), $now );
1057
if ( 0 === $count ) {
1058
$cstate = $event_title;
1059
} elseif ( 1 == $count ) {
my-calendar.php CHANGED
@@ -17,7 +17,7 @@
17
* License: GPL-2.0+
18
* License URI: http://www.gnu.org/license/gpl-2.0.txt
19
* Domain Path: lang
20
- * Version: 3.1.16
21
*/
22
23
/*
@@ -42,7 +42,7 @@ if ( ! defined( 'ABSPATH' ) ) {
42
}
43
44
global $mc_version, $wpdb;
45
- $mc_version = '3.1.16';
46
47
define( 'MC_DEBUG', false );
48
17
* License: GPL-2.0+
18
* License URI: http://www.gnu.org/license/gpl-2.0.txt
19
* Domain Path: lang
20
+ * Version: 3.1.17
21
*/
22
23
/*
42
}
43
44
global $mc_version, $wpdb;
45
+ $mc_version = '3.1.17';
46
47
define( 'MC_DEBUG', false );
48
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: calendar, dates, times, event, events, scheduling, schedule, event manager
5
Requires at least: 4.4
6
Tested up to: 5.2
7
Requires PHP: 5.3
8
- Stable tag: 3.1.16
9
Text domain: my-calendar
10
License: GPLv2 or later
11
@@ -83,6 +83,11 @@ Translating my plug-ins is always appreciated. Visit <a href="https://translate.
83
84
== Changelog ==
85
86
= 3.1.16 =
87
88
* Bug fix: restricting styles & JS to specific pages broken by strict type checks.
5
Requires at least: 4.4
6
Tested up to: 5.2
7
Requires PHP: 5.3
8
+ Stable tag: 3.1.17
9
Text domain: my-calendar
10
License: GPLv2 or later
11
83
84
== Changelog ==
85
86
+ = 3.1.17 =
87
+
88
+ * Bug fix: comma misplaced in mc_list_title_title.
89
+ * Provide special handling in cases where multiple categories are enabled but selector is passed a non-array value.
90
+
91
= 3.1.16 =
92
93
* Bug fix: restricting styles & JS to specific pages broken by strict type checks.