Skip to content

Commit

Permalink
erge branch 'release/T24.chapa.2' of github.com:the-events-calendar/e…
Browse files Browse the repository at this point in the history
…vent-tickets
  • Loading branch information
bordoni committed Jul 24, 2024
2 parents 8fe3b3b + d8edad7 commit d820335
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 9 deletions.
5 changes: 4 additions & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@
"ignoreProperties": ["container-type"]
}
]
}
},
"ignoreFiles": [
"src/resources/postcss/utilities/**"
]
}
2 changes: 1 addition & 1 deletion event-tickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Event Tickets
* Plugin URI: https://evnt.is/1acb
* Description: Event Tickets allows you to sell basic tickets and collect RSVPs from any post, page, or event.
* Version: 5.13.0
* Version: 5.13.0.1
* Requires at least: 6.3
* Requires PHP: 7.4
* Author: The Events Calendar
Expand Down
9 changes: 7 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

Contributors: theeventscalendar, brianjessee, camwynsp, redscar, tribalmike, rafsuntaskin, aguseo, bordoni, borkweb, GeoffBel, jentheo, leahkoerper, lucatume, neillmcshea, vicskf, zbtirrell, juanfra
Tags: tickets, event registration, RSVP, ticket sales, attendee management
Stable tag: 5.13.0
Stable tag: 5.13.0.1
Requires at least: 6.3
Tested up to: 6.6
Tested up to: 6.6.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -205,6 +205,11 @@ Check out our extensive [knowledgebase](https://evnt.is/18wm) for articles on us

== Changelog ==

= [5.13.0.1] 2024-07-24 =

* Fix - Stellar Sale's banner links, details, and HTML tags handling. [TEC-5121]
* Fix - Added missing global property for javascript undefined error `Uncaught TypeError: format is undefined`. This happened during ticket checkout. [ET-2148]

= [5.13.0] 2024-07-22 =

* Feature - Included compatibility with Events Tickets Plus 6.0.0 for integrations with Zapier and Power Automate.
Expand Down
3 changes: 1 addition & 2 deletions src/Tickets/Blocks/Tickets/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ public function render( $attributes = [] ) {
public function assets() {
// Check whether we use v1 or v2. We need to update this when we deprecate tickets v1.
$tickets_js = tribe_tickets_new_views_is_enabled() ? 'v2/tickets-block.js' : 'tickets-block.js';

$plugin = Tickets_Main::instance();
$plugin = Tickets_Main::instance();

tribe_asset(
$plugin,
Expand Down
2 changes: 1 addition & 1 deletion src/Tribe/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Tribe__Tickets__Main {
/**
* Current version of this plugin.
*/
const VERSION = '5.13.0';
const VERSION = '5.13.0.1';

/**
* Used to store the version history.
Expand Down
7 changes: 6 additions & 1 deletion src/resources/js/v2/tickets-block.js
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,12 @@ tribe.tickets.block = {
const $ticketsBlock = $document.find( obj.selectors.container );
// Bind events for each tickets block.
$ticketsBlock.each( function( index, block ) {
obj.bindEvents( $( block ) );
const $container = $( block );
obj.bindEvents( $container );

// Initialize provider we use for prices.
const $form = $container.find( obj.selectors.form );
obj.tribe_tickets_provider = $form.data( 'provider' );
} );
};

Expand Down

0 comments on commit d820335

Please sign in to comment.