The Events Calendar - Version 6.0.0.1

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 Icon The Events Calendar
Version 6.0.0.1
Comparing to
See all releases

Code changes from version 6.0.0 to 6.0.0.1

Files changed (61) hide show
  1. common/src/Tribe/Context/locations.php +8 -0
  2. common/src/Tribe/Main.php +1 -1
  3. common/vendor/autoload.php +1 -1
  4. common/vendor/autoload_52.php +1 -1
  5. common/vendor/composer/autoload_real.php +4 -4
  6. common/vendor/composer/autoload_real_52.php +3 -3
  7. common/vendor/composer/autoload_static.php +5 -5
  8. lang/the-events-calendar-bg_BG.mo +0 -0
  9. lang/the-events-calendar-ca.mo +0 -0
  10. lang/the-events-calendar-cs_CZ.mo +0 -0
  11. lang/the-events-calendar-da_DK.mo +0 -0
  12. lang/the-events-calendar-de_CH.mo +0 -0
  13. lang/the-events-calendar-de_DE.mo +0 -0
  14. lang/the-events-calendar-el.mo +0 -0
  15. lang/the-events-calendar-en_AU.mo +0 -0
  16. lang/the-events-calendar-en_CA.mo +0 -0
  17. lang/the-events-calendar-en_GB.mo +0 -0
  18. lang/the-events-calendar-en_NZ.mo +0 -0
  19. lang/the-events-calendar-en_ZA.mo +0 -0
  20. lang/the-events-calendar-es_AR.mo +0 -0
  21. lang/the-events-calendar-es_CO.mo +0 -0
  22. lang/the-events-calendar-es_DO.mo +0 -0
  23. lang/the-events-calendar-es_EC.mo +0 -0
  24. lang/the-events-calendar-es_ES.mo +0 -0
  25. lang/the-events-calendar-es_MX.mo +0 -0
  26. lang/the-events-calendar-es_VE.mo +0 -0
  27. lang/the-events-calendar-et.mo +0 -0
  28. lang/the-events-calendar-eu.mo +0 -0
  29. lang/the-events-calendar-fi.mo +0 -0
  30. lang/the-events-calendar-fr_CA.mo +0 -0
  31. lang/the-events-calendar-fr_FR.mo +0 -0
  32. lang/the-events-calendar-gl_ES.mo +0 -0
  33. lang/the-events-calendar-he_IL.mo +0 -0
  34. lang/the-events-calendar-hr.mo +0 -0
  35. lang/the-events-calendar-hu_HU.mo +0 -0
  36. lang/the-events-calendar-it_IT.mo +0 -0
  37. lang/the-events-calendar-ja.mo +0 -0
  38. lang/the-events-calendar-ko_KR.mo +0 -0
  39. lang/the-events-calendar-lt_LT.mo +0 -0
  40. lang/the-events-calendar-nb_NO.mo +0 -0
  41. lang/the-events-calendar-nl_BE.mo +0 -0
  42. lang/the-events-calendar-nl_NL.mo +0 -0
  43. lang/the-events-calendar-nn_NO.mo +0 -0
  44. lang/the-events-calendar-pl_PL.mo +0 -0
  45. lang/the-events-calendar-pt_BR.mo +0 -0
  46. lang/the-events-calendar-pt_PT.mo +0 -0
  47. lang/the-events-calendar-ro_RO.mo +0 -0
  48. lang/the-events-calendar-ru_RU.mo +0 -0
  49. lang/the-events-calendar-sk_SK.mo +0 -0
  50. lang/the-events-calendar-sl_SI.mo +0 -0
  51. lang/the-events-calendar-sq.mo +0 -0
  52. lang/the-events-calendar-sv_SE.mo +0 -0
  53. lang/the-events-calendar-tr_TR.mo +0 -0
  54. lang/the-events-calendar-uk.mo +0 -0
  55. lang/the-events-calendar-zh_CN.mo +0 -0
  56. readme.txt +5 -1
  57. src/Tribe/Main.php +1 -1
  58. the-events-calendar.php +1 -1
  59. vendor/autoload.php +1 -1
  60. vendor/composer/autoload_real.php +4 -4
  61. vendor/composer/autoload_static.php +4 -4
common/src/Tribe/Context/locations.php CHANGED
@@ -47,6 +47,14 @@ return [
47
  Tribe__Context::FUNC => static function () {
48
  global $wp_query;
49
 
 
 
 
 
 
 
 
 
50
  return $wp_query->is_main_query();
51
  },
52
  ],
47
  Tribe__Context::FUNC => static function () {
48
  global $wp_query;
49
 
50
+ if ( empty( $wp_query ) ) {
51
+ return false;
52
+ }
53
+
54
+ if ( ! $wp_query instanceof WP_Query ) {
55
+ return false;
56
+ }
57
+
58
  return $wp_query->is_main_query();
59
  },
60
  ],
common/src/Tribe/Main.php CHANGED
@@ -21,7 +21,7 @@ class Tribe__Main {
21
  const OPTIONNAME = 'tribe_events_calendar_options';
22
  const OPTIONNAMENETWORK = 'tribe_events_calendar_network_options';
23
 
24
- const VERSION = '5.0.0';
25
 
26
  const FEED_URL = 'https://theeventscalendar.com/feed/';
27
 
21
  const OPTIONNAME = 'tribe_events_calendar_options';
22
  const OPTIONNAMENETWORK = 'tribe_events_calendar_network_options';
23
 
24
+ const VERSION = '5.0.0.1';
25
 
26
  const FEED_URL = 'https://theeventscalendar.com/feed/';
27
 
common/vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInita130c299833c4cdd70603415888ece34::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit965fd73b9e6ec78a30b46dab36da57c0::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 ComposerAutoloaderInit0e613d7ba9d42ed13834d0350a02aa8b::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit1f195f258f1d31ee18997503744f1f56::getLoader();
common/vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInita130c299833c4cdd70603415888ece34
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInita130c299833c4cdd70603415888ece34
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInita130c299833c4cdd70603415888ece34', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInita130c299833c4cdd70603415888ece34', '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\ComposerStaticInita130c299833c4cdd70603415888ece34::getInitializer($loader));
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 ComposerAutoloaderInit965fd73b9e6ec78a30b46dab36da57c0
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit965fd73b9e6ec78a30b46dab36da57c0', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit965fd73b9e6ec78a30b46dab36da57c0', '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\ComposerStaticInit965fd73b9e6ec78a30b46dab36da57c0::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 ComposerAutoloaderInit0e613d7ba9d42ed13834d0350a02aa8b {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit0e613d7ba9d42ed13834d0350a02aa8b {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit0e613d7ba9d42ed13834d0350a02aa8b', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit0e613d7ba9d42ed13834d0350a02aa8b', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInit1f195f258f1d31ee18997503744f1f56 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit1f195f258f1d31ee18997503744f1f56', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit1f195f258f1d31ee18997503744f1f56', '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 ComposerStaticInita130c299833c4cdd70603415888ece34
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -270,10 +270,10 @@ class ComposerStaticInita130c299833c4cdd70603415888ece34
270
  public static function getInitializer(ClassLoader $loader)
271
  {
272
  return \Closure::bind(function () use ($loader) {
273
- $loader->prefixLengthsPsr4 = ComposerStaticInita130c299833c4cdd70603415888ece34::$prefixLengthsPsr4;
274
- $loader->prefixDirsPsr4 = ComposerStaticInita130c299833c4cdd70603415888ece34::$prefixDirsPsr4;
275
- $loader->prefixesPsr0 = ComposerStaticInita130c299833c4cdd70603415888ece34::$prefixesPsr0;
276
- $loader->classMap = ComposerStaticInita130c299833c4cdd70603415888ece34::$classMap;
277
 
278
  }, null, ClassLoader::class);
279
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit965fd73b9e6ec78a30b46dab36da57c0
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 = ComposerStaticInit965fd73b9e6ec78a30b46dab36da57c0::$prefixLengthsPsr4;
274
+ $loader->prefixDirsPsr4 = ComposerStaticInit965fd73b9e6ec78a30b46dab36da57c0::$prefixDirsPsr4;
275
+ $loader->prefixesPsr0 = ComposerStaticInit965fd73b9e6ec78a30b46dab36da57c0::$prefixesPsr0;
276
+ $loader->classMap = ComposerStaticInit965fd73b9e6ec78a30b46dab36da57c0::$classMap;
277
 
278
  }, null, ClassLoader::class);
279
  }
lang/the-events-calendar-bg_BG.mo CHANGED
Binary file
lang/the-events-calendar-ca.mo CHANGED
Binary file
lang/the-events-calendar-cs_CZ.mo CHANGED
Binary file
lang/the-events-calendar-da_DK.mo CHANGED
Binary file
lang/the-events-calendar-de_CH.mo CHANGED
Binary file
lang/the-events-calendar-de_DE.mo CHANGED
Binary file
lang/the-events-calendar-el.mo CHANGED
Binary file
lang/the-events-calendar-en_AU.mo CHANGED
Binary file
lang/the-events-calendar-en_CA.mo CHANGED
Binary file
lang/the-events-calendar-en_GB.mo CHANGED
Binary file
lang/the-events-calendar-en_NZ.mo CHANGED
Binary file
lang/the-events-calendar-en_ZA.mo CHANGED
Binary file
lang/the-events-calendar-es_AR.mo CHANGED
Binary file
lang/the-events-calendar-es_CO.mo CHANGED
Binary file
lang/the-events-calendar-es_DO.mo CHANGED
Binary file
lang/the-events-calendar-es_EC.mo CHANGED
Binary file
lang/the-events-calendar-es_ES.mo CHANGED
Binary file
lang/the-events-calendar-es_MX.mo CHANGED
Binary file
lang/the-events-calendar-es_VE.mo CHANGED
Binary file
lang/the-events-calendar-et.mo CHANGED
Binary file
lang/the-events-calendar-eu.mo CHANGED
Binary file
lang/the-events-calendar-fi.mo CHANGED
Binary file
lang/the-events-calendar-fr_CA.mo CHANGED
Binary file
lang/the-events-calendar-fr_FR.mo CHANGED
Binary file
lang/the-events-calendar-gl_ES.mo CHANGED
Binary file
lang/the-events-calendar-he_IL.mo CHANGED
Binary file
lang/the-events-calendar-hr.mo CHANGED
Binary file
lang/the-events-calendar-hu_HU.mo CHANGED
Binary file
lang/the-events-calendar-it_IT.mo CHANGED
Binary file
lang/the-events-calendar-ja.mo CHANGED
Binary file
lang/the-events-calendar-ko_KR.mo CHANGED
Binary file
lang/the-events-calendar-lt_LT.mo CHANGED
Binary file
lang/the-events-calendar-nb_NO.mo CHANGED
Binary file
lang/the-events-calendar-nl_BE.mo CHANGED
Binary file
lang/the-events-calendar-nl_NL.mo CHANGED
Binary file
lang/the-events-calendar-nn_NO.mo CHANGED
Binary file
lang/the-events-calendar-pl_PL.mo CHANGED
Binary file
lang/the-events-calendar-pt_BR.mo CHANGED
Binary file
lang/the-events-calendar-pt_PT.mo CHANGED
Binary file
lang/the-events-calendar-ro_RO.mo CHANGED
Binary file
lang/the-events-calendar-ru_RU.mo CHANGED
Binary file
lang/the-events-calendar-sk_SK.mo CHANGED
Binary file
lang/the-events-calendar-sl_SI.mo CHANGED
Binary file
lang/the-events-calendar-sq.mo CHANGED
Binary file
lang/the-events-calendar-sv_SE.mo CHANGED
Binary file
lang/the-events-calendar-tr_TR.mo CHANGED
Binary file
lang/the-events-calendar-uk.mo CHANGED
Binary file
lang/the-events-calendar-zh_CN.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.0
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.0] 2022-09-06 =
233
 
234
  * Version - The Events Calendar 6.0.0 is only compatible with Events Calendar PRO 6.0.0 and higher
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.0.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.0.1] 2022-09-07 =
233
+
234
+ * Fix - Prevent `E_ERROR` from showing up when calling `tribe_context()->is( 'is_main_query' )` too early in execution. [TEC-4464]
235
+
236
  = [6.0.0] 2022-09-06 =
237
 
238
  * Version - The Events Calendar 6.0.0 is only compatible with Events Calendar PRO 6.0.0 and higher
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.0';
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.0.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.0
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.0.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 ComposerAutoloaderInit278c7f7244adf6ec3af3a28025260bf3::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit047571bb9c5b6978ec6fb64db0b7588e::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit278c7f7244adf6ec3af3a28025260bf3
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit278c7f7244adf6ec3af3a28025260bf3
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit278c7f7244adf6ec3af3a28025260bf3', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit278c7f7244adf6ec3af3a28025260bf3', '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\ComposerStaticInit278c7f7244adf6ec3af3a28025260bf3::getInitializer($loader));
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 ComposerAutoloaderInit047571bb9c5b6978ec6fb64db0b7588e
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit047571bb9c5b6978ec6fb64db0b7588e', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit047571bb9c5b6978ec6fb64db0b7588e', '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\ComposerStaticInit047571bb9c5b6978ec6fb64db0b7588e::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 ComposerStaticInit278c7f7244adf6ec3af3a28025260bf3
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -270,9 +270,9 @@ class ComposerStaticInit278c7f7244adf6ec3af3a28025260bf3
270
  public static function getInitializer(ClassLoader $loader)
271
  {
272
  return \Closure::bind(function () use ($loader) {
273
- $loader->prefixLengthsPsr4 = ComposerStaticInit278c7f7244adf6ec3af3a28025260bf3::$prefixLengthsPsr4;
274
- $loader->prefixDirsPsr4 = ComposerStaticInit278c7f7244adf6ec3af3a28025260bf3::$prefixDirsPsr4;
275
- $loader->classMap = ComposerStaticInit278c7f7244adf6ec3af3a28025260bf3::$classMap;
276
 
277
  }, null, ClassLoader::class);
278
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit047571bb9c5b6978ec6fb64db0b7588e
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 = ComposerStaticInit047571bb9c5b6978ec6fb64db0b7588e::$prefixLengthsPsr4;
274
+ $loader->prefixDirsPsr4 = ComposerStaticInit047571bb9c5b6978ec6fb64db0b7588e::$prefixDirsPsr4;
275
+ $loader->classMap = ComposerStaticInit047571bb9c5b6978ec6fb64db0b7588e::$classMap;
276
 
277
  }, null, ClassLoader::class);
278
  }