Event Tickets - Version 5.4.2.1

Version Description

Download this release

Release Info

Developer moraleida.me
Plugin Icon 128x128 Event Tickets
Version 5.4.2.1
Comparing to
See all releases

Code changes from version 5.4.2 to 5.4.2.1

common/vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit45220cf69b32ce8d7ecbe452bebf6ec3::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInita5169220093e6bcfa2ff6f69ae31086f::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 ComposerAutoloaderInit4861c6588b7895ad661e71914bd4b371::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit4569ad0a09ea573ce3266603c576b93c::getLoader();
common/vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit45220cf69b32ce8d7ecbe452bebf6ec3
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit45220cf69b32ce8d7ecbe452bebf6ec3
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit45220cf69b32ce8d7ecbe452bebf6ec3', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit45220cf69b32ce8d7ecbe452bebf6ec3', '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\ComposerStaticInit45220cf69b32ce8d7ecbe452bebf6ec3::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 ComposerAutoloaderInita5169220093e6bcfa2ff6f69ae31086f
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInita5169220093e6bcfa2ff6f69ae31086f', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInita5169220093e6bcfa2ff6f69ae31086f', '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\ComposerStaticInita5169220093e6bcfa2ff6f69ae31086f::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 ComposerAutoloaderInit4861c6588b7895ad661e71914bd4b371 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit4861c6588b7895ad661e71914bd4b371 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit4861c6588b7895ad661e71914bd4b371', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit4861c6588b7895ad661e71914bd4b371', '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 ComposerAutoloaderInit4569ad0a09ea573ce3266603c576b93c {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit4569ad0a09ea573ce3266603c576b93c', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit4569ad0a09ea573ce3266603c576b93c', '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 ComposerStaticInit45220cf69b32ce8d7ecbe452bebf6ec3
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -269,10 +269,10 @@ class ComposerStaticInit45220cf69b32ce8d7ecbe452bebf6ec3
269
  public static function getInitializer(ClassLoader $loader)
270
  {
271
  return \Closure::bind(function () use ($loader) {
272
- $loader->prefixLengthsPsr4 = ComposerStaticInit45220cf69b32ce8d7ecbe452bebf6ec3::$prefixLengthsPsr4;
273
- $loader->prefixDirsPsr4 = ComposerStaticInit45220cf69b32ce8d7ecbe452bebf6ec3::$prefixDirsPsr4;
274
- $loader->prefixesPsr0 = ComposerStaticInit45220cf69b32ce8d7ecbe452bebf6ec3::$prefixesPsr0;
275
- $loader->classMap = ComposerStaticInit45220cf69b32ce8d7ecbe452bebf6ec3::$classMap;
276
 
277
  }, null, ClassLoader::class);
278
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInita5169220093e6bcfa2ff6f69ae31086f
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
269
  public static function getInitializer(ClassLoader $loader)
270
  {
271
  return \Closure::bind(function () use ($loader) {
272
+ $loader->prefixLengthsPsr4 = ComposerStaticInita5169220093e6bcfa2ff6f69ae31086f::$prefixLengthsPsr4;
273
+ $loader->prefixDirsPsr4 = ComposerStaticInita5169220093e6bcfa2ff6f69ae31086f::$prefixDirsPsr4;
274
+ $loader->prefixesPsr0 = ComposerStaticInita5169220093e6bcfa2ff6f69ae31086f::$prefixesPsr0;
275
+ $loader->classMap = ComposerStaticInita5169220093e6bcfa2ff6f69ae31086f::$classMap;
276
 
277
  }, null, ClassLoader::class);
278
  }
event-tickets.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Event Tickets
4
  Plugin URI: https://evnt.is/1acb
5
  Description: Event Tickets allows you to sell basic tickets and collect RSVPs from any post, page, or event.
6
- Version: 5.4.2
7
  Author: The Events Calendar
8
  Author URI: https://evnt.is/1aor
9
  License: GPLv2 or later
3
  Plugin Name: Event Tickets
4
  Plugin URI: https://evnt.is/1acb
5
  Description: Event Tickets allows you to sell basic tickets and collect RSVPs from any post, page, or event.
6
+ Version: 5.4.2.1
7
  Author: The Events Calendar
8
  Author URI: https://evnt.is/1aor
9
  License: GPLv2 or later
lang/event-tickets-nl_NL.mo CHANGED
Binary file
lang/event-tickets-sv_SE.mo CHANGED
Binary file
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: theeventscalendar, brianjessee, camwynsp, aguseo, bordoni, borkweb
4
  Tags: tickets, registration, event registration, RSVP, ticket sales, attendee management
5
  Requires at least: 5.6
6
  Tested up to: 6.0
7
- Stable tag: 5.4.2
8
  Requires PHP: 7.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -188,6 +188,11 @@ Check out our extensive [knowledgebase](https://evnt.is/18wm) for articles on us
188
 
189
  == Changelog ==
190
 
 
 
 
 
 
191
  = [5.4.2] 2022-07-05 =
192
 
193
  * Enhancement - Unify CSS class names for many admin elements. [ET-1536]
4
  Tags: tickets, registration, event registration, RSVP, ticket sales, attendee management
5
  Requires at least: 5.6
6
  Tested up to: 6.0
7
+ Stable tag: 5.4.2.1
8
  Requires PHP: 7.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
188
 
189
  == Changelog ==
190
 
191
+ = [5.4.2.1] 2022-07-12 =
192
+
193
+ * Fix - Fixes compatibility with Elementor-based themes. [ET-1554]
194
+ * Language - 0 new strings added, 1 updated, 0 fuzzied, and 0 obsoleted.
195
+
196
  = [5.4.2] 2022-07-05 =
197
 
198
  * Enhancement - Unify CSS class names for many admin elements. [ET-1536]
src/Tribe/Editor/Compatibility/Tickets.php CHANGED
@@ -33,7 +33,11 @@ class Tribe__Tickets__Editor__Compatibility__Tickets {
33
  }
34
 
35
  // If edited via Elementor, return.
36
- if ( class_exists( '\Elementor\Plugin' ) && \Elementor\Plugin::$instance->documents->get( get_the_ID() )->is_built_with_elementor() ) {
 
 
 
 
37
  return $content;
38
  }
39
 
@@ -44,9 +48,6 @@ class Tribe__Tickets__Editor__Compatibility__Tickets {
44
  return $content;
45
  }
46
 
47
- // Fetch the post.
48
- $post = get_post( get_the_ID() );
49
-
50
  // Return content if post is empty.
51
  if ( empty( $post ) ) {
52
  return $content;
33
  }
34
 
35
  // If edited via Elementor, return.
36
+ $post = get_post();
37
+ if ( $post instanceof WP_Post
38
+ && class_exists( '\Elementor\Plugin' )
39
+ && \Elementor\Plugin::$instance->documents->get( $post->ID )->is_built_with_elementor()
40
+ ) {
41
  return $content;
42
  }
43
 
48
  return $content;
49
  }
50
 
 
 
 
51
  // Return content if post is empty.
52
  if ( empty( $post ) ) {
53
  return $content;
src/Tribe/Main.php CHANGED
@@ -8,7 +8,7 @@ class Tribe__Tickets__Main {
8
  /**
9
  * Current version of this plugin
10
  */
11
- const VERSION = '5.4.2';
12
 
13
  /**
14
  * Used to store the version history.
8
  /**
9
  * Current version of this plugin
10
  */
11
+ const VERSION = '5.4.2.1';
12
 
13
  /**
14
  * Used to store the version history.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit8b58e7fdb55f556429ab3d387a425ce0::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit0a40e0068f60c879be6e32109b269750::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit8b58e7fdb55f556429ab3d387a425ce0
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit8b58e7fdb55f556429ab3d387a425ce0
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit8b58e7fdb55f556429ab3d387a425ce0', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit8b58e7fdb55f556429ab3d387a425ce0', '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\ComposerStaticInit8b58e7fdb55f556429ab3d387a425ce0::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 ComposerAutoloaderInit0a40e0068f60c879be6e32109b269750
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit0a40e0068f60c879be6e32109b269750', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit0a40e0068f60c879be6e32109b269750', '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\ComposerStaticInit0a40e0068f60c879be6e32109b269750::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 ComposerStaticInit8b58e7fdb55f556429ab3d387a425ce0
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
@@ -207,9 +207,9 @@ class ComposerStaticInit8b58e7fdb55f556429ab3d387a425ce0
207
  public static function getInitializer(ClassLoader $loader)
208
  {
209
  return \Closure::bind(function () use ($loader) {
210
- $loader->prefixLengthsPsr4 = ComposerStaticInit8b58e7fdb55f556429ab3d387a425ce0::$prefixLengthsPsr4;
211
- $loader->prefixDirsPsr4 = ComposerStaticInit8b58e7fdb55f556429ab3d387a425ce0::$prefixDirsPsr4;
212
- $loader->classMap = ComposerStaticInit8b58e7fdb55f556429ab3d387a425ce0::$classMap;
213
 
214
  }, null, ClassLoader::class);
215
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit0a40e0068f60c879be6e32109b269750
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'T' =>
207
  public static function getInitializer(ClassLoader $loader)
208
  {
209
  return \Closure::bind(function () use ($loader) {
210
+ $loader->prefixLengthsPsr4 = ComposerStaticInit0a40e0068f60c879be6e32109b269750::$prefixLengthsPsr4;
211
+ $loader->prefixDirsPsr4 = ComposerStaticInit0a40e0068f60c879be6e32109b269750::$prefixDirsPsr4;
212
+ $loader->classMap = ComposerStaticInit0a40e0068f60c879be6e32109b269750::$classMap;
213
 
214
  }, null, ClassLoader::class);
215
  }