Version Description
Download this release
Release Info
| Developer | bordoni |
| Plugin | |
| Version | 5.1.9.1 |
| Comparing to | |
| See all releases | |
Code changes from version 5.1.9 to 5.1.9.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-de_DE.mo +0 -0
- lang/event-tickets-es_ES.mo +0 -0
- lang/event-tickets-nl_NL.mo +0 -0
- lang/event-tickets-sq.mo +0 -0
- readme.txt +5 -1
- src/Tribe/Main.php +1 -1
- src/views/v2/tickets/item.php +3 -2
- 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 ComposerAutoloaderInit2e1141e594004e0dad407ca1dc672068::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 ComposerAutoloaderInit4997d4c41c13f30f2ee9934d8041c337::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 ComposerAutoloaderInit45000f0908896b286907423ec7c5ab9b
|
|
| 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 ComposerAutoloaderInit2e1141e594004e0dad407ca1dc672068
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit2e1141e594004e0dad407ca1dc672068', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit2e1141e594004e0dad407ca1dc672068', '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\ComposerStaticInit2e1141e594004e0dad407ca1dc672068::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 ComposerAutoloaderInit78905504a638b87540454f23ee595a11 {
|
|
| 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 ComposerAutoloaderInit4997d4c41c13f30f2ee9934d8041c337 {
|
| 6 |
private static $loader;
|
| 7 |
|
| 8 |
public static function loadClassLoader($class) {
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInit4997d4c41c13f30f2ee9934d8041c337', 'loadClassLoader'), true /*, true */);
|
| 23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit4997d4c41c13f30f2ee9934d8041c337', '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' =>
|
|
@@ -242,10 +242,10 @@ class ComposerStaticInit45000f0908896b286907423ec7c5ab9b
|
|
| 242 |
public static function getInitializer(ClassLoader $loader)
|
| 243 |
{
|
| 244 |
return \Closure::bind(function () use ($loader) {
|
| 245 |
-
$loader->prefixLengthsPsr4 =
|
| 246 |
-
$loader->prefixDirsPsr4 =
|
| 247 |
-
$loader->prefixesPsr0 =
|
| 248 |
-
$loader->classMap =
|
| 249 |
|
| 250 |
}, null, ClassLoader::class);
|
| 251 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInit2e1141e594004e0dad407ca1dc672068
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
| 242 |
public static function getInitializer(ClassLoader $loader)
|
| 243 |
{
|
| 244 |
return \Closure::bind(function () use ($loader) {
|
| 245 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit2e1141e594004e0dad407ca1dc672068::$prefixLengthsPsr4;
|
| 246 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit2e1141e594004e0dad407ca1dc672068::$prefixDirsPsr4;
|
| 247 |
+
$loader->prefixesPsr0 = ComposerStaticInit2e1141e594004e0dad407ca1dc672068::$prefixesPsr0;
|
| 248 |
+
$loader->classMap = ComposerStaticInit2e1141e594004e0dad407ca1dc672068::$classMap;
|
| 249 |
|
| 250 |
}, null, ClassLoader::class);
|
| 251 |
}
|
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.1.9
|
| 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.1.9.1
|
| 7 |
Author: The Events Calendar
|
| 8 |
Author URI: https://evnt.is/1aor
|
| 9 |
License: GPLv2 or later
|
lang/event-tickets-de_DE.mo
CHANGED
|
Binary file
|
lang/event-tickets-es_ES.mo
CHANGED
|
Binary file
|
lang/event-tickets-nl_NL.mo
CHANGED
|
Binary file
|
lang/event-tickets-sq.mo
CHANGED
|
Binary file
|
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: 4.9.18
|
| 6 |
Tested up to: 5.8.0
|
| 7 |
-
Stable tag: 5.1.9
|
| 8 |
Requires PHP: 5.6
|
| 9 |
License: GPLv2 or later
|
| 10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
@@ -178,6 +178,10 @@ Check out our extensive [knowledgebase](https://evnt.is/18wm) for articles on us
|
|
| 178 |
|
| 179 |
== Changelog ==
|
| 180 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 181 |
= [5.1.9] 2021-08-31 =
|
| 182 |
|
| 183 |
* Fix - Fixed cart calculation inconsistency with WooCommerce when the "Number of decimals" setting was set to `0`. [ETP-324]
|
| 4 |
Tags: tickets, registration, The Events Calendar, RSVP, ticket sales, attendee management
|
| 5 |
Requires at least: 4.9.18
|
| 6 |
Tested up to: 5.8.0
|
| 7 |
+
Stable tag: 5.1.9.1
|
| 8 |
Requires PHP: 5.6
|
| 9 |
License: GPLv2 or later
|
| 10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 178 |
|
| 179 |
== Changelog ==
|
| 180 |
|
| 181 |
+
= [5.1.9.1] 2021-09-08 =
|
| 182 |
+
|
| 183 |
+
* Fix - Fixed conflict with WooCommerce Payments plugin showing error on Ticket Form. [ET-1174]
|
| 184 |
+
|
| 185 |
= [5.1.9] 2021-08-31 =
|
| 186 |
|
| 187 |
* Fix - Fixed cart calculation inconsistency with WooCommerce when the "Number of decimals" setting was set to `0`. [ETP-324]
|
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.1.9';
|
| 11 |
|
| 12 |
/**
|
| 13 |
* Used to store the version history.
|
| 7 |
/**
|
| 8 |
* Current version of this plugin
|
| 9 |
*/
|
| 10 |
+
const VERSION = '5.1.9.1';
|
| 11 |
|
| 12 |
/**
|
| 13 |
* Used to store the version history.
|
src/views/v2/tickets/item.php
CHANGED
|
@@ -14,8 +14,9 @@
|
|
| 14 |
* @since 5.1.1 Display data attributes via `tribe_attributes` and make them filterable via `tribe_tickets_block_ticket_html_attributes`.
|
| 15 |
* @since 5.1.6 Add the `data-available-count` attribute for each ticket to calculate the shared capacity availability correctly.
|
| 16 |
* @since 5.1.9 Add the `data-ticket-price` attribute for each ticket to calculate the price precisely.
|
|
|
|
| 17 |
*
|
| 18 |
-
* @version
|
| 19 |
*
|
| 20 |
* If RSVP:
|
| 21 |
* @var Tribe__Tickets__Editor__Template $this [Global] Template object.
|
|
@@ -105,7 +106,7 @@ $attributes = [
|
|
| 105 |
'data-ticket-id' => (string) $ticket->ID,
|
| 106 |
'data-available' => $this->get( 'data_available' ),
|
| 107 |
'data-has-shared-cap' => $this->get( 'data_has_shared_cap' ),
|
| 108 |
-
'data-ticket-price' => $ticket->price,
|
| 109 |
];
|
| 110 |
|
| 111 |
if ( $has_shared_cap ) {
|
| 14 |
* @since 5.1.1 Display data attributes via `tribe_attributes` and make them filterable via `tribe_tickets_block_ticket_html_attributes`.
|
| 15 |
* @since 5.1.6 Add the `data-available-count` attribute for each ticket to calculate the shared capacity availability correctly.
|
| 16 |
* @since 5.1.9 Add the `data-ticket-price` attribute for each ticket to calculate the price precisely.
|
| 17 |
+
* @since TBD Cast the `data-ticket-price` attribute value as string to avoid unwanted PHP errors.
|
| 18 |
*
|
| 19 |
+
* @version TBD
|
| 20 |
*
|
| 21 |
* If RSVP:
|
| 22 |
* @var Tribe__Tickets__Editor__Template $this [Global] Template object.
|
| 106 |
'data-ticket-id' => (string) $ticket->ID,
|
| 107 |
'data-available' => $this->get( 'data_available' ),
|
| 108 |
'data-has-shared-cap' => $this->get( 'data_has_shared_cap' ),
|
| 109 |
+
'data-ticket-price' => (string) $ticket->price,
|
| 110 |
];
|
| 111 |
|
| 112 |
if ( $has_shared_cap ) {
|
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 ComposerAutoloaderInitba97c44520185c0044768bb168145a0a::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 ComposerAutoloaderInit6bbafdd18a5e1284006dda46e54eed0a
|
|
| 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 ComposerAutoloaderInitba97c44520185c0044768bb168145a0a
|
| 6 |
{
|
| 7 |
private static $loader;
|
| 8 |
|
| 19 |
return self::$loader;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
spl_autoload_register(array('ComposerAutoloaderInitba97c44520185c0044768bb168145a0a', 'loadClassLoader'), true, true);
|
| 23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
| 24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitba97c44520185c0044768bb168145a0a', '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\ComposerStaticInitba97c44520185c0044768bb168145a0a::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' =>
|
|
@@ -227,9 +227,9 @@ class ComposerStaticInit6bbafdd18a5e1284006dda46e54eed0a
|
|
| 227 |
public static function getInitializer(ClassLoader $loader)
|
| 228 |
{
|
| 229 |
return \Closure::bind(function () use ($loader) {
|
| 230 |
-
$loader->prefixLengthsPsr4 =
|
| 231 |
-
$loader->prefixDirsPsr4 =
|
| 232 |
-
$loader->classMap =
|
| 233 |
|
| 234 |
}, null, ClassLoader::class);
|
| 235 |
}
|
| 4 |
|
| 5 |
namespace Composer\Autoload;
|
| 6 |
|
| 7 |
+
class ComposerStaticInitba97c44520185c0044768bb168145a0a
|
| 8 |
{
|
| 9 |
public static $prefixLengthsPsr4 = array (
|
| 10 |
'T' =>
|
| 227 |
public static function getInitializer(ClassLoader $loader)
|
| 228 |
{
|
| 229 |
return \Closure::bind(function () use ($loader) {
|
| 230 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInitba97c44520185c0044768bb168145a0a::$prefixLengthsPsr4;
|
| 231 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitba97c44520185c0044768bb168145a0a::$prefixDirsPsr4;
|
| 232 |
+
$loader->classMap = ComposerStaticInitba97c44520185c0044768bb168145a0a::$classMap;
|
| 233 |
|
| 234 |
}, null, ClassLoader::class);
|
| 235 |
}
|
