Version Description
= [6.0] = Please see the changelog for the complete list of changes in this release. Previous versions of The Events Calendar are not cross-compatible with 6.X add-ons. Remember to always make a backup of your database and files before updating!
Download this release
Release Info
Developer | bordoni |
Plugin | The Events Calendar |
Version | 6.0.1.1 |
Comparing to | |
See all releases |
Code changes from version 6.0.1 to 6.0.1.1
- common/vendor/autoload.php +1 -1
- common/vendor/autoload_52.php +1 -1
- common/vendor/composer/autoload_real.php +4 -4
- common/vendor/composer/autoload_real_52.php +3 -3
- common/vendor/composer/autoload_static.php +5 -5
- lang/the-events-calendar-ca.mo +0 -0
- lang/the-events-calendar-cs_CZ.mo +0 -0
- lang/the-events-calendar-de_DE.mo +0 -0
- lang/the-events-calendar-es_ES.mo +0 -0
- lang/the-events-calendar-nl_NL.mo +0 -0
- readme.txt +5 -1
- src/Tribe/Aggregator/Event.php +4 -4
- src/Tribe/Aggregator/Record/Abstract.php +2 -5
- src/Tribe/Main.php +1 -1
- the-events-calendar.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
common/vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit271b7ccdbb8b6bc93b1a122ef7eb45c8::getLoader();
|
common/vendor/autoload_52.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitc4651841e503bf5dcd50f9b85ce84d39::getLoader();
|
common/vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit9f9eb54d1069e52fd89a03767dfcaa06
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit271b7ccdbb8b6bc93b1a122ef7eb45c8
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit271b7ccdbb8b6bc93b1a122ef7eb45c8', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit271b7ccdbb8b6bc93b1a122ef7eb45c8', 'loadClassLoader'));
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit271b7ccdbb8b6bc93b1a122ef7eb45c8::getInitializer($loader));
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
common/vendor/composer/autoload_real_52.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
-
class
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit4ec4533f8663dfe1c619eea121fe969d {
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
+
class ComposerAutoloaderInitc4651841e503bf5dcd50f9b85ce84d39 {
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitc4651841e503bf5dcd50f9b85ce84d39', 'loadClassLoader'), true /*, true */);
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitc4651841e503bf5dcd50f9b85ce84d39', 'loadClassLoader'));
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
common/vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'T' =>
|
@@ -270,10 +270,10 @@ class ComposerStaticInit9f9eb54d1069e52fd89a03767dfcaa06
|
|
270 |
public static function getInitializer(ClassLoader $loader)
|
271 |
{
|
272 |
return \Closure::bind(function () use ($loader) {
|
273 |
-
$loader->prefixLengthsPsr4 =
|
274 |
-
$loader->prefixDirsPsr4 =
|
275 |
-
$loader->prefixesPsr0 =
|
276 |
-
$loader->classMap =
|
277 |
|
278 |
}, null, ClassLoader::class);
|
279 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit271b7ccdbb8b6bc93b1a122ef7eb45c8
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'T' =>
|
270 |
public static function getInitializer(ClassLoader $loader)
|
271 |
{
|
272 |
return \Closure::bind(function () use ($loader) {
|
273 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit271b7ccdbb8b6bc93b1a122ef7eb45c8::$prefixLengthsPsr4;
|
274 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit271b7ccdbb8b6bc93b1a122ef7eb45c8::$prefixDirsPsr4;
|
275 |
+
$loader->prefixesPsr0 = ComposerStaticInit271b7ccdbb8b6bc93b1a122ef7eb45c8::$prefixesPsr0;
|
276 |
+
$loader->classMap = ComposerStaticInit271b7ccdbb8b6bc93b1a122ef7eb45c8::$classMap;
|
277 |
|
278 |
}, null, ClassLoader::class);
|
279 |
}
|
lang/the-events-calendar-ca.mo
CHANGED
Binary file
|
lang/the-events-calendar-cs_CZ.mo
CHANGED
Binary file
|
lang/the-events-calendar-de_DE.mo
CHANGED
Binary file
|
lang/the-events-calendar-es_ES.mo
CHANGED
Binary file
|
lang/the-events-calendar-nl_NL.mo
CHANGED
Binary file
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: theeventscalendar, borkweb, bordoni, brianjessee, aguseo, camwynsp
|
|
4 |
Tags: events, calendar, event, schedule, organizer
|
5 |
Donate link: https://evnt.is/29
|
6 |
Requires at least: 5.8.4
|
7 |
-
Stable tag: 6.0.1
|
8 |
Tested up to: 6.0.2
|
9 |
Requires PHP: 7.3
|
10 |
License: GPLv2 or later
|
@@ -229,6 +229,10 @@ Remember to always make a backup of your database and files before updating!
|
|
229 |
|
230 |
== Changelog ==
|
231 |
|
|
|
|
|
|
|
|
|
232 |
= [6.0.1] 2022-09-22 =
|
233 |
|
234 |
* Fix - Prevent network deactivation from overwriting the subsite settings with main site cached settings. [TEC-3738]
|
4 |
Tags: events, calendar, event, schedule, organizer
|
5 |
Donate link: https://evnt.is/29
|
6 |
Requires at least: 5.8.4
|
7 |
+
Stable tag: 6.0.1.1
|
8 |
Tested up to: 6.0.2
|
9 |
Requires PHP: 7.3
|
10 |
License: GPLv2 or later
|
229 |
|
230 |
== Changelog ==
|
231 |
|
232 |
+
= [6.0.1.1] 2022-09-29 =
|
233 |
+
|
234 |
+
* Fix - Prevent Google Calendar duplicated Events from Importing with Aggregator. [TEC-4497]
|
235 |
+
|
236 |
= [6.0.1] 2022-09-22 =
|
237 |
|
238 |
* Fix - Prevent network deactivation from overwriting the subsite settings with main site cached settings. [TEC-3738]
|
src/Tribe/Aggregator/Event.php
CHANGED
@@ -257,14 +257,14 @@ class Tribe__Events__Aggregator__Event {
|
|
257 |
$keys[] = $key;
|
258 |
$keys[] = "_{$fields[ $origin ]['legacy']}";
|
259 |
$combined_keys = implode(
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
$meta_key = esc_sql( $meta_key );
|
264 |
|
265 |
return "'{$meta_key}'";
|
266 |
},
|
267 |
-
|
268 |
)
|
269 |
);
|
270 |
|
257 |
$keys[] = $key;
|
258 |
$keys[] = "_{$fields[ $origin ]['legacy']}";
|
259 |
$combined_keys = implode(
|
260 |
+
', ',
|
261 |
+
array_map(
|
262 |
+
function ( $meta_key ) {
|
263 |
$meta_key = esc_sql( $meta_key );
|
264 |
|
265 |
return "'{$meta_key}'";
|
266 |
},
|
267 |
+
$keys
|
268 |
)
|
269 |
);
|
270 |
|
src/Tribe/Aggregator/Record/Abstract.php
CHANGED
@@ -2122,7 +2122,6 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
|
|
2122 |
* Gets all ids that already exist in the post meta table from the provided records
|
2123 |
*
|
2124 |
* @param array $records Array of records
|
2125 |
-
* @param array $data Submitted data
|
2126 |
*
|
2127 |
* @return array
|
2128 |
*/
|
@@ -2141,11 +2140,9 @@ abstract class Tribe__Events__Aggregator__Record__Abstract {
|
|
2141 |
}
|
2142 |
} else {
|
2143 |
$source_field = $unique_field['source'];
|
2144 |
-
$selected_ids = array_filter( array_map( static function ( $entry ) use ( $source_field )
|
2145 |
$array_entry = (array) $entry;
|
2146 |
-
|
2147 |
-
|
2148 |
-
return is_numeric( $value ) ? (int) $value : null;
|
2149 |
}, $import_data ) );
|
2150 |
}
|
2151 |
|
2122 |
* Gets all ids that already exist in the post meta table from the provided records
|
2123 |
*
|
2124 |
* @param array $records Array of records
|
|
|
2125 |
*
|
2126 |
* @return array
|
2127 |
*/
|
2140 |
}
|
2141 |
} else {
|
2142 |
$source_field = $unique_field['source'];
|
2143 |
+
$selected_ids = array_filter( array_map( static function ( $entry ) use ( $source_field ) {
|
2144 |
$array_entry = (array) $entry;
|
2145 |
+
return $array_entry[ $source_field ] ?? null;
|
|
|
|
|
2146 |
}, $import_data ) );
|
2147 |
}
|
2148 |
|
src/Tribe/Main.php
CHANGED
@@ -35,7 +35,7 @@ if ( ! class_exists( 'Tribe__Events__Main' ) ) {
|
|
35 |
const VENUE_POST_TYPE = 'tribe_venue';
|
36 |
const ORGANIZER_POST_TYPE = 'tribe_organizer';
|
37 |
|
38 |
-
const VERSION = '6.0.1';
|
39 |
|
40 |
/**
|
41 |
* Min Pro Addon
|
35 |
const VENUE_POST_TYPE = 'tribe_venue';
|
36 |
const ORGANIZER_POST_TYPE = 'tribe_organizer';
|
37 |
|
38 |
+
const VERSION = '6.0.1.1';
|
39 |
|
40 |
/**
|
41 |
* Min Pro Addon
|
the-events-calendar.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: The Events Calendar
|
4 |
* Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.
|
5 |
-
* Version: 6.0.1
|
6 |
* Author: The Events Calendar
|
7 |
* Author URI: https://evnt.is/1x
|
8 |
* Text Domain: the-events-calendar
|
2 |
/**
|
3 |
* Plugin Name: The Events Calendar
|
4 |
* Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.
|
5 |
+
* Version: 6.0.1.1
|
6 |
* Author: The Events Calendar
|
7 |
* Author URI: https://evnt.is/1x
|
8 |
* Text Domain: the-events-calendar
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInite38f58c5c9438fbc88080ad240dfe756::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitb894359d15008797e6ddab61567f70cd
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInite38f58c5c9438fbc88080ad240dfe756
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInite38f58c5c9438fbc88080ad240dfe756', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInite38f58c5c9438fbc88080ad240dfe756', 'loadClassLoader'));
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInite38f58c5c9438fbc88080ad240dfe756::getInitializer($loader));
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'T' =>
|
@@ -272,9 +272,9 @@ class ComposerStaticInitb894359d15008797e6ddab61567f70cd
|
|
272 |
public static function getInitializer(ClassLoader $loader)
|
273 |
{
|
274 |
return \Closure::bind(function () use ($loader) {
|
275 |
-
$loader->prefixLengthsPsr4 =
|
276 |
-
$loader->prefixDirsPsr4 =
|
277 |
-
$loader->classMap =
|
278 |
|
279 |
}, null, ClassLoader::class);
|
280 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInite38f58c5c9438fbc88080ad240dfe756
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'T' =>
|
272 |
public static function getInitializer(ClassLoader $loader)
|
273 |
{
|
274 |
return \Closure::bind(function () use ($loader) {
|
275 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInite38f58c5c9438fbc88080ad240dfe756::$prefixLengthsPsr4;
|
276 |
+
$loader->prefixDirsPsr4 = ComposerStaticInite38f58c5c9438fbc88080ad240dfe756::$prefixDirsPsr4;
|
277 |
+
$loader->classMap = ComposerStaticInite38f58c5c9438fbc88080ad240dfe756::$classMap;
|
278 |
|
279 |
}, null, ClassLoader::class);
|
280 |
}
|