Version Description
- Bug fix: typo in category string parameter for ical output
Download this release
Release Info
Developer | joedolson |
Plugin | My Calendar |
Version | 3.1.4 |
Comparing to | |
See all releases |
Code changes from version 3.1.3 to 3.1.4
- css/mc-print.css +24 -0
- my-calendar-api.php +1 -1
- my-calendar-events.php +1 -1
- my-calendar.php +3 -3
- readme.txt +5 -1
css/mc-print.css
CHANGED
@@ -120,6 +120,30 @@ a {
|
|
120 |
text-decoration: none;
|
121 |
}
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
@media print {
|
124 |
.return { display: none; }
|
125 |
}
|
120 |
text-decoration: none;
|
121 |
}
|
122 |
|
123 |
+
li.mc-events {
|
124 |
+
margin-top: 1em;
|
125 |
+
list-style-type: none;
|
126 |
+
}
|
127 |
+
|
128 |
+
ul.mc-list {
|
129 |
+
margin: 1em 0;
|
130 |
+
padding: 0;
|
131 |
+
}
|
132 |
+
|
133 |
+
.mc-events .list-event {
|
134 |
+
margin-bottom: .5em;
|
135 |
+
padding-bottom: .5em;
|
136 |
+
line-height: 1.4;
|
137 |
+
}
|
138 |
+
|
139 |
+
.mc-events .list-event h3 {
|
140 |
+
font-size: 16px;
|
141 |
+
}
|
142 |
+
|
143 |
+
.mc-events .list-event .address strong {
|
144 |
+
font-weight: 400;
|
145 |
+
}
|
146 |
+
|
147 |
@media print {
|
148 |
.return { display: none; }
|
149 |
}
|
my-calendar-api.php
CHANGED
@@ -394,7 +394,7 @@ function my_calendar_ical() {
|
|
394 |
|
395 |
$from = apply_filters( 'mc_ical_download_from', $from, $p );
|
396 |
$to = apply_filters( 'mc_ical_download_to', $to, $p );
|
397 |
-
$category = ( isset( $_GET['mcat'] ) ) ? intval( $_GET['
|
398 |
|
399 |
$site = ( ! isset( $_GET['site'] ) ) ? get_current_blog_id() : intval( $_GET['site'] );
|
400 |
$args = array(
|
394 |
|
395 |
$from = apply_filters( 'mc_ical_download_from', $from, $p );
|
396 |
$to = apply_filters( 'mc_ical_download_to', $to, $p );
|
397 |
+
$category = ( isset( $_GET['mcat'] ) ) ? intval( $_GET['mcat'] ) : null;
|
398 |
|
399 |
$site = ( ! isset( $_GET['site'] ) ) ? get_current_blog_id() : intval( $_GET['site'] );
|
400 |
$args = array(
|
my-calendar-events.php
CHANGED
@@ -667,7 +667,7 @@ function mc_get_occurrences( $id ) {
|
|
667 |
/**
|
668 |
* Get all events with a grouped relationship with the current event.
|
669 |
*
|
670 |
-
* @param int $id
|
671 |
*
|
672 |
* @return array Array event IDs of related events
|
673 |
*/
|
667 |
/**
|
668 |
* Get all events with a grouped relationship with the current event.
|
669 |
*
|
670 |
+
* @param int $id Group ID.
|
671 |
*
|
672 |
* @return array Array event IDs of related events
|
673 |
*/
|
my-calendar.php
CHANGED
@@ -17,11 +17,11 @@
|
|
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.
|
21 |
*/
|
22 |
|
23 |
/*
|
24 |
-
Copyright 2009-
|
25 |
|
26 |
This program is free software; you can redistribute it and/or modify
|
27 |
it under the terms of the GNU General Public License as published by
|
@@ -42,7 +42,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
42 |
}
|
43 |
|
44 |
global $mc_version, $wpdb;
|
45 |
-
$mc_version = '3.1.
|
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.4
|
21 |
*/
|
22 |
|
23 |
/*
|
24 |
+
Copyright 2009-2019 Joe Dolson (email : joe@joedolson.com)
|
25 |
|
26 |
This program is free software; you can redistribute it and/or modify
|
27 |
it under the terms of the GNU General Public License as published by
|
42 |
}
|
43 |
|
44 |
global $mc_version, $wpdb;
|
45 |
+
$mc_version = '3.1.4';
|
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.0
|
7 |
Requires PHP: 5.3
|
8 |
-
Stable tag: 3.1.
|
9 |
Text domain: my-calendar
|
10 |
License: GPLv2 or later
|
11 |
|
@@ -85,6 +85,10 @@ Translating my plug-ins is always appreciated. Visit <a href="https://translate.
|
|
85 |
|
86 |
TODO: Support limiting views to multiple locations
|
87 |
|
|
|
|
|
|
|
|
|
88 |
= 3.1.3 =
|
89 |
|
90 |
* New filter: 'mc_list_titles_separator'
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 5.0
|
7 |
Requires PHP: 5.3
|
8 |
+
Stable tag: 3.1.4
|
9 |
Text domain: my-calendar
|
10 |
License: GPLv2 or later
|
11 |
|
85 |
|
86 |
TODO: Support limiting views to multiple locations
|
87 |
|
88 |
+
= 3.1.4 =
|
89 |
+
|
90 |
+
* Bug fix: typo in category string parameter for ical output
|
91 |
+
|
92 |
= 3.1.3 =
|
93 |
|
94 |
* New filter: 'mc_list_titles_separator'
|