Version Description
Download this release
Release Info
| Developer | bordoni |
| Plugin | |
| Version | 5.2.4.1 |
| Comparing to | |
| See all releases | |
Code changes from version 5.2.4 to 5.2.4.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
- event-tickets.php +1 -1
- lang/event-tickets-nl_NL.mo +0 -0
- lang/event-tickets.pot +1 -1
- readme.txt +5 -1
- src/Tribe/Editor/Blocks/Tickets.php +8 -26
- src/Tribe/Main.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 ComposerAutoloaderInitf5432e92183aa2f0253e2dcd3dad3536::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 ComposerAutoloaderInitee1cf866a1e66cea373cd52c095b2bac::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 ComposerAutoloaderInit3fdf143587763deb0bdd8d52bd8bc131
|
|
| 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 ComposerAutoloaderInitf5432e92183aa2f0253e2dcd3dad3536
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInitf5432e92183aa2f0253e2dcd3dad3536', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitf5432e92183aa2f0253e2dcd3dad3536', '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\ComposerStaticInitf5432e92183aa2f0253e2dcd3dad3536::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 ComposerAutoloaderInit4bf1eee2e64c2b59b20b9c7324a9e97b {
|
|
| 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 ComposerAutoloaderInitee1cf866a1e66cea373cd52c095b2bac {
|
| 6 |
private static $loader;
|
| 7 |
|
| 8 |
public static function loadClassLoader($class) {
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInitee1cf866a1e66cea373cd52c095b2bac', 'loadClassLoader'), true /*, true */);
|
| 23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitee1cf866a1e66cea373cd52c095b2bac', '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' =>
|
|
@@ -261,10 +261,10 @@ class ComposerStaticInit3fdf143587763deb0bdd8d52bd8bc131
|
|
| 261 |
public static function getInitializer(ClassLoader $loader)
|
| 262 |
{
|
| 263 |
return \Closure::bind(function () use ($loader) {
|
| 264 |
-
$loader->prefixLengthsPsr4 =
|
| 265 |
-
$loader->prefixDirsPsr4 =
|
| 266 |
-
$loader->prefixesPsr0 =
|
| 267 |
-
$loader->classMap =
|
| 268 |
|
| 269 |
}, null, ClassLoader::class);
|
| 270 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInitf5432e92183aa2f0253e2dcd3dad3536
|
| 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 = ComposerStaticInitf5432e92183aa2f0253e2dcd3dad3536::$prefixLengthsPsr4;
|
| 265 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitf5432e92183aa2f0253e2dcd3dad3536::$prefixDirsPsr4;
|
| 266 |
+
$loader->prefixesPsr0 = ComposerStaticInitf5432e92183aa2f0253e2dcd3dad3536::$prefixesPsr0;
|
| 267 |
+
$loader->classMap = ComposerStaticInitf5432e92183aa2f0253e2dcd3dad3536::$classMap;
|
| 268 |
|
| 269 |
}, null, ClassLoader::class);
|
| 270 |
}
|
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.2.4
|
| 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.2.4.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.pot
CHANGED
|
@@ -4,7 +4,7 @@ msgid ""
|
|
| 4 |
msgstr ""
|
| 5 |
"Project-Id-Version: Event Tickets 5.2.4\n"
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/event-tickets\n"
|
| 7 |
-
"POT-Creation-Date: 2022-02-
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
| 4 |
msgstr ""
|
| 5 |
"Project-Id-Version: Event Tickets 5.2.4\n"
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/event-tickets\n"
|
| 7 |
+
"POT-Creation-Date: 2022-02-09 17:16:04+00:00\n"
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Contributors: theeventscalendar, brianjessee, camwynsp, paulkim, aguseo, bordoni
|
|
| 4 |
Tags: tickets, registration, The Events Calendar, RSVP, ticket sales, attendee management
|
| 5 |
Requires at least: 5.6
|
| 6 |
Tested up to: 5.9.0
|
| 7 |
-
Stable tag: 5.2.4
|
| 8 |
Requires PHP: 7.1
|
| 9 |
License: GPLv2 or later
|
| 10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
@@ -179,6 +179,10 @@ Check out our extensive [knowledgebase](https://evnt.is/18wm) for articles on us
|
|
| 179 |
|
| 180 |
== Changelog ==
|
| 181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 182 |
= [5.2.4] 2022-02-15 =
|
| 183 |
|
| 184 |
* Tweak - Compatibility with the Common Abstract for editor blocks registration.
|
| 4 |
Tags: tickets, registration, The Events Calendar, RSVP, ticket sales, attendee management
|
| 5 |
Requires at least: 5.6
|
| 6 |
Tested up to: 5.9.0
|
| 7 |
+
Stable tag: 5.2.4.1
|
| 8 |
Requires PHP: 7.1
|
| 9 |
License: GPLv2 or later
|
| 10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 179 |
|
| 180 |
== Changelog ==
|
| 181 |
|
| 182 |
+
= [5.2.4.1] 2022-02-17 =
|
| 183 |
+
|
| 184 |
+
* Fix - Classic Editor compatibility problems with the Ticket Form resolved [GTRIA-738]
|
| 185 |
+
|
| 186 |
= [5.2.4] 2022-02-15 =
|
| 187 |
|
| 188 |
* Tweak - Compatibility with the Common Abstract for editor blocks registration.
|
src/Tribe/Editor/Blocks/Tickets.php
CHANGED
|
@@ -48,30 +48,7 @@ class Tribe__Tickets__Editor__Blocks__Tickets
|
|
| 48 |
* @return void
|
| 49 |
*/
|
| 50 |
public function assets() {
|
| 51 |
-
global $wp_version;
|
| 52 |
$plugin = Tribe__Tickets__Main::instance();
|
| 53 |
-
$block_object = $this;
|
| 54 |
-
|
| 55 |
-
tribe_asset(
|
| 56 |
-
$plugin,
|
| 57 |
-
'wp-util-not-in-footer',
|
| 58 |
-
includes_url( '/js/wp-util.js' ),
|
| 59 |
-
[ 'jquery', 'underscore' ],
|
| 60 |
-
null,
|
| 61 |
-
[
|
| 62 |
-
'type' => 'js',
|
| 63 |
-
]
|
| 64 |
-
);
|
| 65 |
-
|
| 66 |
-
$tickets_block_dependencies = [
|
| 67 |
-
'jquery',
|
| 68 |
-
'wp-util-not-in-footer',
|
| 69 |
-
'tribe-common',
|
| 70 |
-
];
|
| 71 |
-
|
| 72 |
-
if ( version_compare( $wp_version, '5.0', '>=' ) ) {
|
| 73 |
-
$tickets_block_dependencies[] = 'wp-i18n';
|
| 74 |
-
}
|
| 75 |
|
| 76 |
// Check whether we use v1 or v2. We need to update this when we deprecate tickets v1.
|
| 77 |
$tickets_js = tribe_tickets_new_views_is_enabled() ? 'v2/tickets-block.js' : 'tickets-block.js';
|
|
@@ -80,7 +57,12 @@ class Tribe__Tickets__Editor__Blocks__Tickets
|
|
| 80 |
$plugin,
|
| 81 |
'tribe-tickets-block',
|
| 82 |
$tickets_js,
|
| 83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
null,
|
| 85 |
[
|
| 86 |
'type' => 'js',
|
|
@@ -96,13 +78,13 @@ class Tribe__Tickets__Editor__Blocks__Tickets
|
|
| 96 |
],
|
| 97 |
[
|
| 98 |
'name' => 'TribeCartEndpoint',
|
| 99 |
-
'data' => static function() {
|
| 100 |
return [ 'url' => tribe_tickets_rest_url( '/cart/' ) ];
|
| 101 |
}
|
| 102 |
],
|
| 103 |
[
|
| 104 |
'name' => 'TribeMessages',
|
| 105 |
-
'data' => [ $
|
| 106 |
],
|
| 107 |
[
|
| 108 |
'name' => 'TribeTicketsURLs',
|
| 48 |
* @return void
|
| 49 |
*/
|
| 50 |
public function assets() {
|
|
|
|
| 51 |
$plugin = Tribe__Tickets__Main::instance();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
// Check whether we use v1 or v2. We need to update this when we deprecate tickets v1.
|
| 54 |
$tickets_js = tribe_tickets_new_views_is_enabled() ? 'v2/tickets-block.js' : 'tickets-block.js';
|
| 57 |
$plugin,
|
| 58 |
'tribe-tickets-block',
|
| 59 |
$tickets_js,
|
| 60 |
+
[
|
| 61 |
+
'jquery',
|
| 62 |
+
'wp-util',
|
| 63 |
+
'wp-i18n',
|
| 64 |
+
'tribe-common',
|
| 65 |
+
],
|
| 66 |
null,
|
| 67 |
[
|
| 68 |
'type' => 'js',
|
| 78 |
],
|
| 79 |
[
|
| 80 |
'name' => 'TribeCartEndpoint',
|
| 81 |
+
'data' => static function () {
|
| 82 |
return [ 'url' => tribe_tickets_rest_url( '/cart/' ) ];
|
| 83 |
}
|
| 84 |
],
|
| 85 |
[
|
| 86 |
'name' => 'TribeMessages',
|
| 87 |
+
'data' => [ $this, 'set_messages' ],
|
| 88 |
],
|
| 89 |
[
|
| 90 |
'name' => 'TribeTicketsURLs',
|
src/Tribe/Main.php
CHANGED
|
@@ -7,7 +7,7 @@ class Tribe__Tickets__Main {
|
|
| 7 |
/**
|
| 8 |
* Current version of this plugin
|
| 9 |
*/
|
| 10 |
-
const VERSION = '5.2.4';
|
| 11 |
|
| 12 |
/**
|
| 13 |
* Used to store the version history.
|
| 7 |
/**
|
| 8 |
* Current version of this plugin
|
| 9 |
*/
|
| 10 |
+
const VERSION = '5.2.4.1';
|
| 11 |
|
| 12 |
/**
|
| 13 |
* 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
|
| 4 |
|
| 5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
| 6 |
|
| 7 |
+
return ComposerAutoloaderInit78d3c674fcbbeafb9fc2b9f6dcdd124c::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 ComposerAutoloaderInit494d0ea4e5f4bc8a9811dddb9f93fc43
|
|
| 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 ComposerAutoloaderInit78d3c674fcbbeafb9fc2b9f6dcdd124c
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit78d3c674fcbbeafb9fc2b9f6dcdd124c', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit78d3c674fcbbeafb9fc2b9f6dcdd124c', '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\ComposerStaticInit78d3c674fcbbeafb9fc2b9f6dcdd124c::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' =>
|
|
@@ -162,9 +162,9 @@ class ComposerStaticInit494d0ea4e5f4bc8a9811dddb9f93fc43
|
|
| 162 |
public static function getInitializer(ClassLoader $loader)
|
| 163 |
{
|
| 164 |
return \Closure::bind(function () use ($loader) {
|
| 165 |
-
$loader->prefixLengthsPsr4 =
|
| 166 |
-
$loader->prefixDirsPsr4 =
|
| 167 |
-
$loader->classMap =
|
| 168 |
|
| 169 |
}, null, ClassLoader::class);
|
| 170 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInit78d3c674fcbbeafb9fc2b9f6dcdd124c
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
| 162 |
public static function getInitializer(ClassLoader $loader)
|
| 163 |
{
|
| 164 |
return \Closure::bind(function () use ($loader) {
|
| 165 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit78d3c674fcbbeafb9fc2b9f6dcdd124c::$prefixLengthsPsr4;
|
| 166 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit78d3c674fcbbeafb9fc2b9f6dcdd124c::$prefixDirsPsr4;
|
| 167 |
+
$loader->classMap = ComposerStaticInit78d3c674fcbbeafb9fc2b9f6dcdd124c::$classMap;
|
| 168 |
|
| 169 |
}, null, ClassLoader::class);
|
| 170 |
}
|
