Version Description
- June 6, 2018 =
- Fix: Issue with calendar settings not saving.
Download this release
Release Info
Developer | simplecalendar |
Plugin | Simple Calendar – Google Calendar Plugin |
Version | 3.1.17 |
Comparing to | |
See all releases |
Code changes from version 3.1.16 to 3.1.17
- assets/css/admin-add-calendar.min.css +1 -1
- assets/css/admin.min.css +1 -1
- assets/css/default-calendar-grid.min.css +1 -1
- assets/css/default-calendar-list.min.css +1 -1
- assets/js/admin-add-calendar.min.js +1 -1
- assets/js/admin.min.js +1 -1
- assets/js/default-calendar.min.js +1 -1
- google-calendar-events.php +2 -2
- includes/main.php +3 -4
- readme.txt +4 -1
assets/css/admin-add-calendar.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Simple Calendar - 3.1.
|
2 |
* https://simplecalendar.io
|
3 |
* Copyright (c) Moonstone Media 2018
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! Simple Calendar - 3.1.17
|
2 |
* https://simplecalendar.io
|
3 |
* Copyright (c) Moonstone Media 2018
|
4 |
* Licensed GPLv2+ */
|
assets/css/admin.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Simple Calendar - 3.1.
|
2 |
* https://simplecalendar.io
|
3 |
* Copyright (c) Moonstone Media 2018
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! Simple Calendar - 3.1.17
|
2 |
* https://simplecalendar.io
|
3 |
* Copyright (c) Moonstone Media 2018
|
4 |
* Licensed GPLv2+ */
|
assets/css/default-calendar-grid.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Simple Calendar - 3.1.
|
2 |
* https://simplecalendar.io
|
3 |
* Copyright (c) Moonstone Media 2018
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! Simple Calendar - 3.1.17
|
2 |
* https://simplecalendar.io
|
3 |
* Copyright (c) Moonstone Media 2018
|
4 |
* Licensed GPLv2+ */
|
assets/css/default-calendar-list.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Simple Calendar - 3.1.
|
2 |
* https://simplecalendar.io
|
3 |
* Copyright (c) Moonstone Media 2018
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! Simple Calendar - 3.1.17
|
2 |
* https://simplecalendar.io
|
3 |
* Copyright (c) Moonstone Media 2018
|
4 |
* Licensed GPLv2+ */
|
assets/js/admin-add-calendar.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Simple Calendar - 3.1.
|
2 |
* https://simplecalendar.io
|
3 |
* Copyright (c) Moonstone Media 2018
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! Simple Calendar - 3.1.17
|
2 |
* https://simplecalendar.io
|
3 |
* Copyright (c) Moonstone Media 2018
|
4 |
* Licensed GPLv2+ */
|
assets/js/admin.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Simple Calendar - 3.1.
|
2 |
* https://simplecalendar.io
|
3 |
* Copyright (c) Moonstone Media 2018
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! Simple Calendar - 3.1.17
|
2 |
* https://simplecalendar.io
|
3 |
* Copyright (c) Moonstone Media 2018
|
4 |
* Licensed GPLv2+ */
|
assets/js/default-calendar.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! Simple Calendar - 3.1.
|
2 |
* https://simplecalendar.io
|
3 |
* Copyright (c) Moonstone Media 2018
|
4 |
* Licensed GPLv2+ */
|
1 |
+
/*! Simple Calendar - 3.1.17
|
2 |
* https://simplecalendar.io
|
3 |
* Copyright (c) Moonstone Media 2018
|
4 |
* Licensed GPLv2+ */
|
google-calendar-events.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Add Google Calendar events to your WordPress site in minutes. Beautiful calendar displays. Fully responsive.
|
6 |
* Author: Simple Calendar
|
7 |
* Author URI: https://simplecalendar.io
|
8 |
-
* Version: 3.1.
|
9 |
* Text Domain: google-calendar-events
|
10 |
* Domain Path: /i18n
|
11 |
*
|
@@ -21,7 +21,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
21 |
$this_plugin_path = trailingslashit( dirname( __FILE__ ) );
|
22 |
$this_plugin_dir = plugin_dir_url( __FILE__ );
|
23 |
$this_plugin_constants = array(
|
24 |
-
'SIMPLE_CALENDAR_VERSION' => '3.1.
|
25 |
'SIMPLE_CALENDAR_MAIN_FILE' => __FILE__,
|
26 |
'SIMPLE_CALENDAR_URL' => $this_plugin_dir,
|
27 |
'SIMPLE_CALENDAR_ASSETS' => $this_plugin_dir . 'assets/',
|
5 |
* Description: Add Google Calendar events to your WordPress site in minutes. Beautiful calendar displays. Fully responsive.
|
6 |
* Author: Simple Calendar
|
7 |
* Author URI: https://simplecalendar.io
|
8 |
+
* Version: 3.1.17
|
9 |
* Text Domain: google-calendar-events
|
10 |
* Domain Path: /i18n
|
11 |
*
|
21 |
$this_plugin_path = trailingslashit( dirname( __FILE__ ) );
|
22 |
$this_plugin_dir = plugin_dir_url( __FILE__ );
|
23 |
$this_plugin_constants = array(
|
24 |
+
'SIMPLE_CALENDAR_VERSION' => '3.1.17',
|
25 |
'SIMPLE_CALENDAR_MAIN_FILE' => __FILE__,
|
26 |
'SIMPLE_CALENDAR_URL' => $this_plugin_dir,
|
27 |
'SIMPLE_CALENDAR_ASSETS' => $this_plugin_dir . 'assets/',
|
includes/main.php
CHANGED
@@ -217,11 +217,10 @@ final class Plugin {
|
|
217 |
*/
|
218 |
public function register_settings() {
|
219 |
if (
|
220 |
-
|
|
|
221 |
&& ! defined( 'DOING_AJAX' )
|
222 |
-
|
223 |
-
&& 'simple-calendar_settings' === $_GET['page']
|
224 |
-
|| 'update' === $_POST['action']
|
225 |
) {
|
226 |
$settings = new Admin\Pages();
|
227 |
$settings->register_settings( $settings->get_settings() );
|
217 |
*/
|
218 |
public function register_settings() {
|
219 |
if (
|
220 |
+
! empty( $_POST )
|
221 |
+
&& is_admin()
|
222 |
&& ! defined( 'DOING_AJAX' )
|
223 |
+
|| ( isset( $_GET['page'] ) && 'simple-calendar_settings' === $_GET['page'] )
|
|
|
|
|
224 |
) {
|
225 |
$settings = new Admin\Pages();
|
226 |
$settings->register_settings( $settings->get_settings() );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: google calendar, calendar, calendars, google, event calendar, custom calen
|
|
4 |
Requires at least: 4.2
|
5 |
Requires PHP: 5.3+
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 3.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -97,6 +97,9 @@ We'd love your help! Here's a few things you can do:
|
|
97 |
|
98 |
== Changelog ==
|
99 |
|
|
|
|
|
|
|
100 |
= 3.1.16 - June 6, 2018 =
|
101 |
* Fix: Issue with slow loading admin settings page.
|
102 |
|
4 |
Requires at least: 4.2
|
5 |
Requires PHP: 5.3+
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 3.1.17
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
97 |
|
98 |
== Changelog ==
|
99 |
|
100 |
+
= 3.1.17 - June 6, 2018 =
|
101 |
+
* Fix: Issue with calendar settings not saving.
|
102 |
+
|
103 |
= 3.1.16 - June 6, 2018 =
|
104 |
* Fix: Issue with slow loading admin settings page.
|
105 |
|