The Events Calendar - Version 5.14.0.2

Version Description

= [5.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 5.X add-ons. Remember to always make a backup of your database and files before updating!

Download this release

Release Info

Developer Camwynsp
Plugin Icon The Events Calendar
Version 5.14.0.2
Comparing to
See all releases

Code changes from version 5.14.0.1 to 5.14.0.2

common/vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit839e3a9550ef2ca6897786974c312464::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit9a521fa1808419fd199215db5bb24c8e::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 ComposerAutoloaderInit8234ca3b735038c82df3611e5efe6c60::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInitcc0f661df4f869b9b135db3c714eb548::getLoader();
common/vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit839e3a9550ef2ca6897786974c312464
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit839e3a9550ef2ca6897786974c312464
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit839e3a9550ef2ca6897786974c312464', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit839e3a9550ef2ca6897786974c312464', '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\ComposerStaticInit839e3a9550ef2ca6897786974c312464::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 ComposerAutoloaderInit9a521fa1808419fd199215db5bb24c8e
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit9a521fa1808419fd199215db5bb24c8e', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit9a521fa1808419fd199215db5bb24c8e', '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\ComposerStaticInit9a521fa1808419fd199215db5bb24c8e::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 ComposerAutoloaderInit8234ca3b735038c82df3611e5efe6c60 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit8234ca3b735038c82df3611e5efe6c60 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit8234ca3b735038c82df3611e5efe6c60', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit8234ca3b735038c82df3611e5efe6c60', '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 ComposerAutoloaderInitcc0f661df4f869b9b135db3c714eb548 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitcc0f661df4f869b9b135db3c714eb548', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitcc0f661df4f869b9b135db3c714eb548', '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 ComposerStaticInit839e3a9550ef2ca6897786974c312464
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -261,10 +261,10 @@ class ComposerStaticInit839e3a9550ef2ca6897786974c312464
261
  public static function getInitializer(ClassLoader $loader)
262
  {
263
  return \Closure::bind(function () use ($loader) {
264
- $loader->prefixLengthsPsr4 = ComposerStaticInit839e3a9550ef2ca6897786974c312464::$prefixLengthsPsr4;
265
- $loader->prefixDirsPsr4 = ComposerStaticInit839e3a9550ef2ca6897786974c312464::$prefixDirsPsr4;
266
- $loader->prefixesPsr0 = ComposerStaticInit839e3a9550ef2ca6897786974c312464::$prefixesPsr0;
267
- $loader->classMap = ComposerStaticInit839e3a9550ef2ca6897786974c312464::$classMap;
268
 
269
  }, null, ClassLoader::class);
270
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit9a521fa1808419fd199215db5bb24c8e
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
261
  public static function getInitializer(ClassLoader $loader)
262
  {
263
  return \Closure::bind(function () use ($loader) {
264
+ $loader->prefixLengthsPsr4 = ComposerStaticInit9a521fa1808419fd199215db5bb24c8e::$prefixLengthsPsr4;
265
+ $loader->prefixDirsPsr4 = ComposerStaticInit9a521fa1808419fd199215db5bb24c8e::$prefixDirsPsr4;
266
+ $loader->prefixesPsr0 = ComposerStaticInit9a521fa1808419fd199215db5bb24c8e::$prefixesPsr0;
267
+ $loader->classMap = ComposerStaticInit9a521fa1808419fd199215db5bb24c8e::$classMap;
268
 
269
  }, null, ClassLoader::class);
270
  }
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.6
7
- Stable tag: 5.14.0.1
8
  Tested up to: 5.9.0
9
  Requires PHP: 7.1
10
  License: GPLv2 or later
@@ -221,6 +221,11 @@ Remember to always make a backup of your database and files before updating!
221
 
222
  == Changelog ==
223
 
 
 
 
 
 
224
  = [5.14.0.1] 2022-02-15 =
225
 
226
  * Fix - Prevent parse error due to trailing comma on a method call, PHP 7.1 compatibility required. Props @kzeni
4
  Tags: events, calendar, event, schedule, organizer
5
  Donate link: https://evnt.is/29
6
  Requires at least: 5.6
7
+ Stable tag: 5.14.0.2
8
  Tested up to: 5.9.0
9
  Requires PHP: 7.1
10
  License: GPLv2 or later
221
 
222
  == Changelog ==
223
 
224
+ = [5.14.0.2] 2022-02-22 =
225
+
226
+ * Fix - Correct conditional in Filter Bar upsell banner. [TEC-4284]
227
+ * Fix - Un-deprecate `tribe_initialize_view()` as it is used in some new views.
228
+
229
  = [5.14.0.1] 2022-02-15 =
230
 
231
  * Fix - Prevent parse error due to trailing comma on a method call, PHP 7.1 compatibility required. Props @kzeni
src/Tribe/Admin/Filter_Bar/Provider.php CHANGED
@@ -20,8 +20,13 @@ class Provider extends \tad_DI52_ServiceProvider {
20
  * @since 5.14.0
21
  */
22
  public function register() {
23
- // Bail if Filter Bar is already installed.
24
- if ( class_exists( 'Tribe__Events__Filterbar__View' ) ) {
 
 
 
 
 
25
  return;
26
  }
27
 
@@ -143,4 +148,4 @@ class Provider extends \tad_DI52_ServiceProvider {
143
  public function should_enqueue_admin() {
144
  return Tribe__Admin__Helpers::instance()->is_screen();
145
  }
146
- }
20
  * @since 5.14.0
21
  */
22
  public function register() {
23
+ if ( defined( 'TRIBE_HIDE_UPSELL' ) && tribe_is_truthy( TRIBE_HIDE_UPSELL ) ) {
24
+ return;
25
+ }
26
+
27
+
28
+ // Bail if Filter Bar is already installed/registered.
29
+ if ( has_action( 'tribe_common_loaded', 'tribe_register_filterbar' ) ) {
30
  return;
31
  }
32
 
148
  public function should_enqueue_admin() {
149
  return Tribe__Admin__Helpers::instance()->is_screen();
150
  }
151
+ }
src/Tribe/Editor/Compatibility.php CHANGED
@@ -18,7 +18,7 @@ class Tribe__Events__Editor__Compatibility {
18
  /**
19
  * Key we store the toggle under in the tribe_events_calendar_options array.
20
  *
21
- * @since TBD
22
  *
23
  * @var string
24
  */
18
  /**
19
  * Key we store the toggle under in the tribe_events_calendar_options array.
20
  *
21
+ * @since 15.4.0
22
  *
23
  * @var string
24
  */
src/Tribe/Main.php CHANGED
@@ -32,7 +32,7 @@ if ( ! class_exists( 'Tribe__Events__Main' ) ) {
32
  const VENUE_POST_TYPE = 'tribe_venue';
33
  const ORGANIZER_POST_TYPE = 'tribe_organizer';
34
 
35
- const VERSION = '5.14.0.1';
36
 
37
  /**
38
  * Min Pro Addon
@@ -636,17 +636,18 @@ if ( ! class_exists( 'Tribe__Events__Main' ) ) {
636
  // First boot.
637
  tribe_register_provider( Tribe\Events\Service_Providers\First_Boot::class );
638
 
 
 
639
 
640
  /**
641
  * Allows other plugins and services to override/change the bound implementations.
 
 
642
  */
643
  do_action( 'tribe_events_bound_implementations' );
644
 
645
  // Database locks.
646
  tribe_singleton( 'db-lock', DB_Lock::class );
647
-
648
- // Filter Bar.
649
- tribe_register_provider( Tribe\Events\Admin\Filter_Bar\Provider::class );
650
  }
651
 
652
  /**
32
  const VENUE_POST_TYPE = 'tribe_venue';
33
  const ORGANIZER_POST_TYPE = 'tribe_organizer';
34
 
35
+ const VERSION = '5.14.0.2';
36
 
37
  /**
38
  * Min Pro Addon
636
  // First boot.
637
  tribe_register_provider( Tribe\Events\Service_Providers\First_Boot::class );
638
 
639
+ // Filter Bar upsell.
640
+ tribe_register_provider( Tribe\Events\Admin\Filter_Bar\Provider::class );
641
 
642
  /**
643
  * Allows other plugins and services to override/change the bound implementations.
644
+ *
645
+ * DO NOT put anything after this unless you _need to_ and know the implications!
646
  */
647
  do_action( 'tribe_events_bound_implementations' );
648
 
649
  // Database locks.
650
  tribe_singleton( 'db-lock', DB_Lock::class );
 
 
 
651
  }
652
 
653
  /**
src/functions/template-tags/general.php CHANGED
@@ -22,9 +22,6 @@ if ( class_exists( 'Tribe__Events__Main' ) ) {
22
  * @uses Tribe__Events__Templates::instantiate_template_class()
23
  **/
24
  function tribe_initialize_view( $class = false ) {
25
- if ( tec_events_views_v1_should_display_deprecated_notice() ) {
26
- _deprecated_function( __FUNCTION__, '5.13.0', 'On version 6.0.0 this function will be removed. Please refer to <a href="https://evnt.is/v1-removal">https://evnt.is/v1-removal</a> for template customization assistance.' );
27
- }
28
  do_action( 'tribe_pre_initialize_view' );
29
  Tribe__Events__Templates::instantiate_template_class( $class );
30
  }
22
  * @uses Tribe__Events__Templates::instantiate_template_class()
23
  **/
24
  function tribe_initialize_view( $class = false ) {
 
 
 
25
  do_action( 'tribe_pre_initialize_view' );
26
  Tribe__Events__Templates::instantiate_template_class( $class );
27
  }
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: 5.14.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: 5.14.0.2
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 ComposerAutoloaderInit1393bd67b4ca98bb30ecff09848a666d::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit05c2c2f3738a17f72549ae022045f356::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit1393bd67b4ca98bb30ecff09848a666d
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit1393bd67b4ca98bb30ecff09848a666d
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit1393bd67b4ca98bb30ecff09848a666d', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit1393bd67b4ca98bb30ecff09848a666d', '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\ComposerStaticInit1393bd67b4ca98bb30ecff09848a666d::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 ComposerAutoloaderInit05c2c2f3738a17f72549ae022045f356
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit05c2c2f3738a17f72549ae022045f356', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit05c2c2f3738a17f72549ae022045f356', '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\ComposerStaticInit05c2c2f3738a17f72549ae022045f356::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 ComposerStaticInit1393bd67b4ca98bb30ecff09848a666d
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -141,9 +141,9 @@ class ComposerStaticInit1393bd67b4ca98bb30ecff09848a666d
141
  public static function getInitializer(ClassLoader $loader)
142
  {
143
  return \Closure::bind(function () use ($loader) {
144
- $loader->prefixLengthsPsr4 = ComposerStaticInit1393bd67b4ca98bb30ecff09848a666d::$prefixLengthsPsr4;
145
- $loader->prefixDirsPsr4 = ComposerStaticInit1393bd67b4ca98bb30ecff09848a666d::$prefixDirsPsr4;
146
- $loader->classMap = ComposerStaticInit1393bd67b4ca98bb30ecff09848a666d::$classMap;
147
 
148
  }, null, ClassLoader::class);
149
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit05c2c2f3738a17f72549ae022045f356
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
141
  public static function getInitializer(ClassLoader $loader)
142
  {
143
  return \Closure::bind(function () use ($loader) {
144
+ $loader->prefixLengthsPsr4 = ComposerStaticInit05c2c2f3738a17f72549ae022045f356::$prefixLengthsPsr4;
145
+ $loader->prefixDirsPsr4 = ComposerStaticInit05c2c2f3738a17f72549ae022045f356::$prefixDirsPsr4;
146
+ $loader->classMap = ComposerStaticInit05c2c2f3738a17f72549ae022045f356::$classMap;
147
 
148
  }, null, ClassLoader::class);
149
  }