Version Description
Download this release
Release Info
Developer | MotoPress |
Plugin | Timetable and Event Schedule by MotoPress |
Version | 2.4.1 |
Comparing to | |
See all releases |
Code changes from version 2.4.0 to 2.4.1
- changelog.txt +6 -0
- classes/blocks/class-timetable-block.php +17 -7
- mp-timetable.php +1 -1
- readme.txt +3 -6
changelog.txt
CHANGED
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
= 2.3.17, Feb 18 2021 =
|
2 |
* Bug fix: fixed PHP parse error in PHP 7.2.
|
3 |
|
1 |
+
= 2.3.18, Mar 18 2021 =
|
2 |
+
* Improved compatibility with WordPress 5.7.
|
3 |
+
|
4 |
+
= 2.3.17, Mar 3 2021 =
|
5 |
+
* Improved compatibility with WordPress multisite.
|
6 |
+
|
7 |
= 2.3.17, Feb 18 2021 =
|
8 |
* Bug fix: fixed PHP parse error in PHP 7.2.
|
9 |
|
classes/blocks/class-timetable-block.php
CHANGED
@@ -10,13 +10,23 @@ class Timetable_Block {
|
|
10 |
|
11 |
public function __construct() {
|
12 |
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
// style.css
|
22 |
wp_register_style(
|
10 |
|
11 |
public function __construct() {
|
12 |
|
13 |
+
global $pagenow;
|
14 |
+
|
15 |
+
$dependencies = array( 'wp-i18n', 'wp-element', 'wp-blocks', 'wp-components', 'wp-api', 'wp-api-fetch', 'mptt-functions', 'mptt-event-object' );
|
16 |
+
|
17 |
+
if ( $pagenow !== 'widgets.php' ) {
|
18 |
+
array_push( $dependencies, 'wp-editor' );
|
19 |
+
} else {
|
20 |
+
array_push( $dependencies, 'wp-edit-widgets' );
|
21 |
+
}
|
22 |
+
|
23 |
+
// block-js
|
24 |
+
wp_register_script(
|
25 |
+
'mptt-blocks-js',
|
26 |
+
Mp_Time_Table::get_plugin_url( 'media/js/blocks/dist/index.js' ),
|
27 |
+
$dependencies,
|
28 |
+
Core::get_instance()->get_version()
|
29 |
+
);
|
30 |
|
31 |
// style.css
|
32 |
wp_register_style(
|
mp-timetable.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Timetable and Event Schedule
|
5 |
* Plugin URI: https://motopress.com/products/timetable-event-schedule/
|
6 |
* Description: Smart time-management tool with a clean minimalist design for featuring your timetables and upcoming events.
|
7 |
-
* Version: 2.4.
|
8 |
* Author: MotoPress
|
9 |
* Author URI: https://motopress.com
|
10 |
* License: GPLv2 or later
|
4 |
* Plugin Name: Timetable and Event Schedule
|
5 |
* Plugin URI: https://motopress.com/products/timetable-event-schedule/
|
6 |
* Description: Smart time-management tool with a clean minimalist design for featuring your timetables and upcoming events.
|
7 |
+
* Version: 2.4.1
|
8 |
* Author: MotoPress
|
9 |
* Author URI: https://motopress.com
|
10 |
* License: GPLv2 or later
|
readme.txt
CHANGED
@@ -93,6 +93,9 @@ Plugin bundles the following third-party resources:
|
|
93 |
|
94 |
== Changelog ==
|
95 |
|
|
|
|
|
|
|
96 |
= 2.4.0, Aug 11 2021 =
|
97 |
* Security - Fixed security issues. Reported by wpscan.com.
|
98 |
|
@@ -100,12 +103,6 @@ Plugin bundles the following third-party resources:
|
|
100 |
* Improved compatibility with WordPress 5.8.
|
101 |
* Security - Fixed unescaped meta data. Reported by Trustwave.
|
102 |
|
103 |
-
= 2.3.18, Mar 18 2021 =
|
104 |
-
* Improved compatibility with WordPress 5.7.
|
105 |
-
|
106 |
-
= 2.3.17, Mar 3 2021 =
|
107 |
-
* Improved compatibility with WordPress multisite.
|
108 |
-
|
109 |
--------
|
110 |
|
111 |
[See the previous changelogs here](https://plugins.svn.wordpress.org/mp-timetable/trunk/changelog.txt).
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
+
= 2.4.1, Aug 18 2021 =
|
97 |
+
* Bug fix: fixed a PHP notice in Widget Areas in WordPress 5.8.
|
98 |
+
|
99 |
= 2.4.0, Aug 11 2021 =
|
100 |
* Security - Fixed security issues. Reported by wpscan.com.
|
101 |
|
103 |
* Improved compatibility with WordPress 5.8.
|
104 |
* Security - Fixed unescaped meta data. Reported by Trustwave.
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
--------
|
107 |
|
108 |
[See the previous changelogs here](https://plugins.svn.wordpress.org/mp-timetable/trunk/changelog.txt).
|