Skip to content

Commit

Permalink
Placeholder mistyped in receipts template
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Oct 13, 2021
1 parent 60e6659 commit 7514ce3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Sell Event Tickets on any post
* Tags: tickets, events, WordPress
* Requires at least: 4.7
* Tested up to: 5.8
* Stable tag: `1.8.31`
* Stable tag: `1.8.32`
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down
2 changes: 1 addition & 1 deletion src/mt-notifications.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function mt_format_purchase( $purchase, $format = false, $purchase_id = false )
}
}
if ( '' !== trim( $tickets_list ) ) {
$output .= sprintf( apply_filters( 'mt_purchased_tickets_format', '%1$s - %2$s @ $3$s', $is_html, $event ), $title, $date, $time ) . $sep;
$output .= sprintf( apply_filters( 'mt_purchased_tickets_format', '%1$s - %2$s @ %3$s', $is_html, $event ), $title, $date, $time ) . $sep;
$output .= apply_filters( 'mt_custom_tickets_fields', '', $event_id, $purchase_id, $sep );
$output .= $sep . $tickets_list;
}
Expand Down
4 changes: 2 additions & 2 deletions src/my-tickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* License: GPL-2.0+
* License URI: http://www.gnu.org/license/gpl-2.0.txt
* Domain Path: lang
* Version: 1.8.31
* Version: 1.8.32
*/

/*
Expand Down Expand Up @@ -46,7 +46,7 @@
* @return string Current My Tickets version.
*/
function mt_get_current_version() {
$mt_version = '1.8.31';
$mt_version = '1.8.32';

return $mt_version;
}
Expand Down
6 changes: 5 additions & 1 deletion src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Tested up to: 5.8
Requires PHP: 5.6
License: GPLv2 or later
Text domain: my-tickets
Stable tag: 1.8.31
Stable tag: 1.8.32

My Tickets is an simple, flexible platform for selling event tickets with WordPress.

Expand Down Expand Up @@ -66,6 +66,10 @@ Read the <a href="http://docs.joedolson.com/my-tickets/">online documentation</a

== Changelog ==

= 1.8.32 =

* Bug fix: One string replacement placeholder mistyped in receipts template.

= 1.8.31 =

* Security: XSS vulnerability due to unsanitized email address.
Expand Down

0 comments on commit 7514ce3

Please sign in to comment.