Below is a differential between the unpatched vulnerable code and the patched update, for reference.
--- a/widget-for-eventbrite-api/blocks/class-blocks.php
+++ b/widget-for-eventbrite-api/blocks/class-blocks.php
@@ -75,10 +75,32 @@
}
$front_end = new Frontend($this->plugin_name, $this->version, $this->utilities);
$atts = $this->remove_non_eb_keys( $atts );
+ $atts = $this->sanitize_block_strings( $front_end, $atts );
$output = $front_end->do_query_template( $atts, $content, $block );
return '<div ' . get_block_wrapper_attributes() . '>' . $output . '</div>';
}
+ /**
+ * Block attributes reach the templates without the shortcode's sanitize_atts(). Run them through
+ * it and take back only the cleaned text values: booleans, numbers and the shortcode-only rules
+ * (such as the pop-up turning "read more" off) stay as the block has always had them, so saved
+ * blocks render as before.
+ *
+ * @param FrontEnd $front_end
+ * @param array $atts block attributes after remove_non_eb_keys()
+ *
+ * @return array
+ */
+ private function sanitize_block_strings( $front_end, $atts ) {
+ $clean = $front_end->sanitize_atts( shortcode_atts( FrontEnd::default_args( $atts ), $atts, 'wfea' ) );
+ foreach ( $atts as $key => $value ) {
+ if ( is_string( $value ) && isset( $clean[$key] ) && is_string( $clean[$key] ) ) {
+ $atts[$key] = $clean[$key];
+ }
+ }
+ return $atts;
+ }
+
public function remove_non_eb_keys( $atts ) {
unset(
$atts['apiKeyOptions'],
--- a/widget-for-eventbrite-api/frontend/class-frontend.php
+++ b/widget-for-eventbrite-api/frontend/class-frontend.php
@@ -399,7 +399,6 @@
);
$frontend_data = array(
'ajaxurl' => admin_url( 'admin-ajax.php' ),
- 'nonce' => wp_create_nonce( 'wfea_modal_nonce' ),
);
wp_localize_script( $this->plugin_name, 'wfea_frontend', $frontend_data );
if ( !WP_DEBUG ) {
@@ -536,16 +535,17 @@
}
}
+ /**
+ * Not hooked any more: get_long_description_html() cleans and wraps the description itself.
+ * Kept because it was public, so a site's code may call it.
+ *
+ * @param string $content description markup
+ * @param object $event not used
+ *
+ * @return string
+ */
public function wfea_the_content( $content, $event = null ) {
- $strip = apply_filters( 'wfea_strip_eb_inline_style', true );
- if ( true === $strip ) {
- $content = preg_replace( '/(<[^>]+) style=".*?"/i', '$1', $content );
- }
- $class = ( apply_filters( 'wfea_strip_eb_inline_style', true ) ? 'local_style' : '' );
- // add a container class to any iframe
- $content = preg_replace( '/<iframe/i', '<div class="wfea_eb_content_iframe_container"><iframe', $content );
- $content = preg_replace( '/<\/iframe>/i', '</iframe></div>', $content );
- return '<div class="wfea_eb_content ' . $class . '">' . $content . '</div>';
+ return $this->utilities->clean_description_html( $content );
}
private function atts_bool( $att ) {
--- a/widget-for-eventbrite-api/includes/class-core.php
+++ b/widget-for-eventbrite-api/includes/class-core.php
@@ -219,12 +219,6 @@
9,
2
);
- add_filter(
- 'wfea_the_content',
- array($plugin_public, 'wfea_the_content'),
- 10,
- 2
- );
add_action( 'wp_enqueue_scripts', array($plugin_public, 'enqueue_styles') );
add_action( 'wp_enqueue_scripts', array($plugin_public, 'enqueue_scripts') );
// Prevent JS optimizers from deferring calendar scripts (runs late to override optimizer filters).
--- a/widget-for-eventbrite-api/includes/class-eventbrite-event.php
+++ b/widget-for-eventbrite-api/includes/class-eventbrite-event.php
@@ -187,6 +187,9 @@
// EventKiln-only details (id, public_url, checkout_url, embed_checkout_url, checkout_mode).
public $eventkiln;
+ // EventKiln only: true when the organiser hasn't set the time yet (start 00:00, end 23:59 local).
+ public $time_tbc = false;
+
/**
--- a/widget-for-eventbrite-api/includes/class-eventkiln-source.php
+++ b/widget-for-eventbrite-api/includes/class-eventkiln-source.php
@@ -489,6 +489,9 @@
'is_series_parent' => false,
'series_dates' => false,
'online_event' => ! empty( $raw['is_online'] ),
+ // The organiser hasn't set a time: starts_at is 00:00 local and ends_at 23:59 local,
+ // kept so sorting still works, so the times must not be shown.
+ 'time_tbc' => ! empty( $raw['time_tbc'] ),
'tags' => array(),
'music_properties' => $this->map_music_properties( $raw ),
'performances' => $this->map_lineup( $raw ),
--- a/widget-for-eventbrite-api/includes/class-ics.php
+++ b/widget-for-eventbrite-api/includes/class-ics.php
@@ -79,6 +79,8 @@
const DT_FORMAT = 'YmdTHisZ';
protected $properties = array();
+ // All-day event: DTSTART and DTEND are written as dates (DTEND is the day after the last day).
+ protected $all_day = false;
private $available_properties = array(
'description',
'dtend',
@@ -98,7 +100,9 @@
$this->set($k, $v);
}
} else {
- if (in_array($key, $this->available_properties)) {
+ if ('allday' === $key) {
+ $this->all_day = (bool) $val;
+ } elseif (in_array($key, $this->available_properties)) {
$this->properties[$key] = $this->sanitize_val($val, $key);
}
}
@@ -122,6 +126,10 @@
// Build ICS properties - add header
$props = array();
foreach($this->properties as $k => $v) {
+ if ($this->all_day && in_array($k, array('dtstart', 'dtend'), true)) {
+ $props[strtoupper($k) . ';VALUE=DATE'] = substr($v, 0, 8);
+ continue;
+ }
$props[strtoupper($k . ($k === 'url' ? ';VALUE=URI' : ''))] = $v;
}
--- a/widget-for-eventbrite-api/includes/class-utilities.php
+++ b/widget-for-eventbrite-api/includes/class-utilities.php
@@ -91,7 +91,7 @@
}
public static function get_allowed_html() {
- $html = wp_kses_allowed_html( 'post' );
+ $html = self::add_description_attributes( wp_kses_allowed_html( 'post' ) );
return array_merge( $html, array(
'svg' => array(
'class' => true,
@@ -289,6 +289,43 @@
return $error_string;
}
+ /**
+ * Keep only class names in a space-separated style setting. The setting is printed into class
+ * attributes and passed inside a [wfea style="..."] shortcode, so a quote or a "]" in it could
+ * break out of either.
+ *
+ * @param string $style space-separated class names
+ *
+ * @return string
+ */
+ public static function sanitize_style_classes( $style ) {
+ if ( !is_string( $style ) ) {
+ return '';
+ }
+ $classes = array_filter( array_map( 'sanitize_html_class', preg_split( '/\s+/', $style ) ) );
+ return implode( ' ', $classes );
+ }
+
+ /**
+ * sprintf() for format strings a site owner or a translation supplies. A bad placeholder (such as
+ * %3$s with two values, or a stray %) throws on PHP 8 and would stop the page, so return the
+ * fallback instead.
+ *
+ * @param string $format
+ * @param array $values
+ * @param string $fallback
+ *
+ * @return string
+ */
+ public static function safe_sprintf( $format, $values, $fallback = '' ) {
+ try {
+ $output = vsprintf( (string) $format, $values );
+ } catch ( Throwable $e ) {
+ $output = false;
+ }
+ return ( false === $output ? $fallback : $output );
+ }
+
public static function map_api_index_to_key( $index, $api_keys = array() ) {
if ( empty( $api_keys ) ) {
$options = get_option( 'widget-for-eventbrite-api-settings', Admin_Settings::option_defaults( 'widget-for-eventbrite-api-settings' ) );
@@ -297,6 +334,55 @@
return ( !empty( $api_keys[$index]['key'] ) ? $api_keys[$index]['key'] : $index );
}
+ /**
+ * The status a list queries with, combining status with the status_* parts the same way
+ * Frontend::build_query() does.
+ *
+ * @param array $atts
+ *
+ * @return string
+ */
+ public static function effective_status( $atts ) {
+ $status = ( isset( $atts['status'] ) && is_scalar( $atts['status'] ) ? (string) $atts['status'] : 'live' );
+ if ( 'live' === $status ) {
+ if ( isset( $atts['status_live'] ) && false === $atts['status_live'] ) {
+ $status = '';
+ }
+ if ( isset( $atts['status_all'] ) && true === $atts['status_all'] ) {
+ $status = 'all';
+ } else {
+ foreach ( array('started', 'ended', 'canceled') as $part ) {
+ if ( isset( $atts['status_' . $part] ) && true === $atts['status_' . $part] ) {
+ $status .= $part;
+ }
+ }
+ }
+ }
+ return str_replace( 'cancelled', 'canceled', strtolower( $status ) );
+ }
+
+ private static function is_true_setting( $value ) {
+ return in_array( $value, array(
+ true,
+ 1,
+ '1',
+ 'true'
+ ), true );
+ }
+
+ /**
+ * HMAC over the whole set of protected settings, in a fixed order, so none can be changed,
+ * added or dropped without breaking it.
+ *
+ * @param array $settings api_key, display_private, status
+ *
+ * @return string
+ */
+ private static function list_settings_signature( $settings ) {
+ $canonical = wp_json_encode( array($settings['api_key'], $settings['display_private'], $settings['status']) );
+ return hash_hmac( 'sha256', 'wfea-list-settings|' . $canonical, wp_salt( 'auth' ) );
+ }
+
public function get_api_reference_from_key( $key ) {
$options = get_option( 'widget-for-eventbrite-api-settings', Admin_Settings::option_defaults( 'widget-for-eventbrite-api-settings' ) );
$api_keys = $options['key'];
@@ -709,6 +795,9 @@
* @api
*/
function get_event_time( $args = false, $exclude_date = false ) {
+ if ( $this->is_time_tbc() ) {
+ return $this->get_event_time_tbc( $args, $exclude_date );
+ }
// Collect our formats from the admin.
$date_format = apply_filters( 'wfea_combined_date_time_date_format', get_option( 'date_format' ) . ', ', $args );
$time_format = apply_filters( 'wfea_combined_date_time_time_format', get_option( 'time_format' ), $args );
@@ -740,6 +829,38 @@
}
/**
+ * get_event_time() for an event whose time is still to be confirmed: the date (and end date
+ * of a multi-day event, when end times are shown) followed by the label, never 00:00.
+ *
+ * @internal
+ */
+ private function get_event_time_tbc( $args, $exclude_date ) {
+ $label = $this->get_time_tbc_label();
+ if ( true === $exclude_date ) {
+ $event_time = esc_html( $label );
+ } else {
+ $date_format = get_option( 'date_format' );
+ $dates = mysql2date( $date_format, $this->get_event_start()->local );
+ if ( (false === $args || !empty( $args['show_end_time'] )) && $this->is_multiday_event() ) {
+ $dates .= ' ' . apply_filters( 'wfea_event_time_separator', '-', $args ) . ' ' . mysql2date( $date_format, $this->get_event_end()->local );
+ }
+ $event_time = sprintf(
+ // translators: %1$s = event date or dates, %2$s = 'Time to be confirmed'
+ _x( '%1$s, %2$s', 'Event date when the time is to be confirmed', 'widget-for-eventbrite-api' ),
+ esc_html( $dates ),
+ esc_html( $label )
+ );
+ }
+ return apply_filters(
+ 'wfea_event_time',
+ $event_time,
+ $this->get_event_start(),
+ $this->get_event_end(),
+ $args
+ );
+ }
+
+ /**
* @deprecated
*/
public function get_fb_share_href( $args ) {
@@ -763,6 +884,9 @@
* @internal
*/
public function get_calendar_utc_times() {
+ if ( $this->is_time_tbc() ) {
+ return $this->get_tbc_dates( 'Ymd' );
+ }
$event = $this->get_event();
$start = ( !empty( $event->start->utc ) ? strtotime( $event->start->utc ) : false );
if ( false === $start ) {
@@ -893,6 +1017,63 @@
}
/**
+ * Whether the current event's time is still to be confirmed (EventKiln only). Its start and
+ * end are then the start and end of the day, kept for sorting, and no time should be shown.
+ *
+ * @return bool
+ * @api
+ */
+ public function is_time_tbc() {
+ $event = $this->get_event();
+ return is_object( $event ) && !empty( $event->time_tbc );
+ }
+
+ /**
+ * The label shown in place of the time when it is still to be confirmed.
+ *
+ * @return string
+ * @api
+ */
+ public function get_time_tbc_label() {
+ return apply_filters( 'wfea_time_tbc_label', __( 'Time to be confirmed', 'widget-for-eventbrite-api' ), $this->get_event() );
+ }
+
+ /**
+ * First day and the day after the last day of the current event, local, in $format: the
+ * all-day range calendars expect (their end date is exclusive).
+ *
+ * @return array start, end
+ * @internal
+ */
+ public function get_tbc_dates( $format ) {
+ $start = substr( (string) $this->get_event_start()->local, 0, 10 );
+ $end = substr( (string) $this->get_event_end()->local, 0, 10 );
+ $start = strtotime( $start . ' 00:00:00 UTC' );
+ $end = strtotime( $end . ' 00:00:00 UTC' );
+ if ( false === $start ) {
+ return array('', '');
+ }
+ if ( false === $end || $end < $start ) {
+ $end = $start;
+ }
+ return array(gmdate( $format, $start ), gmdate( $format, $end + DAY_IN_SECONDS ));
+ }
+
+ /**
+ * Value for a <time datetime=""> attribute for the current event's start: the full date and
+ * time, or the date alone when the time is to be confirmed.
+ *
+ * @return string
+ * @api
+ */
+ public function get_event_datetime_attr() {
+ if ( $this->is_time_tbc() ) {
+ return substr( (string) $this->get_event_start()->local, 0, 10 );
+ }
+ return get_the_date( 'c', $this->get_event() );
+ }
+
+ /**
* check if a multiday event
* @return bool
* @internal
@@ -991,6 +1172,65 @@
}
/**
+ * Clean and wrap an event description.
+ *
+ * @param string $content description markup from outside this site
+ *
+ * @return string
+ * @api
+ */
+ public function clean_description_html( $content ) {
+ // A description is text from outside this site, so kses is the last thing to touch it: any later
+ // rewrite could rebuild markup kses had cleaned. A site's own wfea_the_content filter runs after.
+ // wp_kses() would drop the tags of a script or style block and show the code inside as text.
+ $strip = apply_filters( 'wfea_strip_eb_inline_style', true );
+ $content = preg_replace( '@<(script|style)[^>]*?>.*?</\1>@si', '', $content );
+ $content = wptexturize( $content );
+ $content = convert_smilies( $content );
+ $content = convert_chars( $content );
+ $content = str_replace( ']]>', ']]>', $content );
+ // add a container class to any iframe
+ $content = preg_replace( '/<iframe/i', '<div class="wfea_eb_content_iframe_container"><iframe', $content );
+ $content = preg_replace( '/<\/iframe>/i', '</iframe></div>', $content );
+ $allowed = self::add_description_attributes( wp_kses_allowed_html( 'post' ) );
+ if ( true === $strip ) {
+ foreach ( $allowed as $tag => $attributes ) {
+ if ( is_array( $attributes ) ) {
+ unset($allowed[$tag]['style']);
+ }
+ }
+ }
+ return '<div class="wfea_eb_content ' . (( $strip ? 'local_style' : '' )) . '">' . wp_kses( $content, $allowed ) . '</div>';
+ }
+
+ /**
+ * What a description's images and videos keep on top of post content's allow-list. Not the
+ * iframe's allow attribute: its permission prompts for camera, microphone and location would
+ * show this site's name for a frame the description chose.
+ *
+ * @param array $allowed kses allow-list
+ *
+ * @return array
+ */
+ private static function add_description_attributes( $allowed ) {
+ if ( isset( $allowed['iframe'] ) ) {
+ $allowed['iframe'] += array(
+ 'title' => true,
+ 'loading' => true,
+ 'class' => true,
+ 'style' => true,
+ );
+ }
+ if ( isset( $allowed['img'] ) ) {
+ $allowed['img'] += array(
+ 'srcset' => true,
+ 'sizes' => true,
+ );
+ }
+ return $allowed;
+ }
+
+ /**
* Template function to diaply content
* @return mixed|null
* @api
@@ -1004,10 +1244,7 @@
} else {
$content = '';
}
- $content = wptexturize( $content );
- $content = convert_smilies( $content );
- $content = convert_chars( $content );
- $content = str_replace( ']]>', ']]>', $content );
+ $content = $this->clean_description_html( $content );
$content = apply_filters( 'wfea_the_content', $content, $event );
return $content;
}
@@ -1033,10 +1270,10 @@
$wfea_event = $this->get_event();
// Use new dedicated property if available
if ( isset( $wfea_event->wfea_excerpt_text ) && !empty( $wfea_event->wfea_excerpt_text ) ) {
- return $wfea_event->wfea_excerpt_text;
+ return wp_strip_all_tags( $wfea_event->wfea_excerpt_text );
}
// Fallback for backward compatibility
- return ( isset( $wfea_event->summary ) ? $wfea_event->summary : '' );
+ return ( isset( $wfea_event->summary ) ? wp_strip_all_tags( $wfea_event->summary ) : '' );
}
/**
--- a/widget-for-eventbrite-api/includes/vendor/composer/installed.php
+++ b/widget-for-eventbrite-api/includes/vendor/composer/installed.php
@@ -1,9 +1,9 @@
<?php return array(
'root' => array(
'name' => 'fullworks/widget-for-eventbrite-api',
- 'pretty_version' => 'v6.9.1',
- 'version' => '6.9.1.0',
- 'reference' => 'adf23c1d65e3447b3c18e769dd68b050968af3a0',
+ 'pretty_version' => 'v6.9.2',
+ 'version' => '6.9.2.0',
+ 'reference' => '395df54e006a7a9b844e3a4d1d232b58ee7cd0b1',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../../',
'aliases' => array(),
@@ -69,9 +69,9 @@
'dev_requirement' => false,
),
'fullworks/widget-for-eventbrite-api' => array(
- 'pretty_version' => 'v6.9.1',
- 'version' => '6.9.1.0',
- 'reference' => 'adf23c1d65e3447b3c18e769dd68b050968af3a0',
+ 'pretty_version' => 'v6.9.2',
+ 'version' => '6.9.2.0',
+ 'reference' => '395df54e006a7a9b844e3a4d1d232b58ee7cd0b1',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../../',
'aliases' => array(),
--- a/widget-for-eventbrite-api/includes/widgets/elementor/class-eventbrite-widget-elementor-helpers.php
+++ b/widget-for-eventbrite-api/includes/widgets/elementor/class-eventbrite-widget-elementor-helpers.php
@@ -599,7 +599,8 @@
}
$add = ( isset( $params['style'] ) ? ' ' . $params['style'] : '' );
$style .= $add;
- return $style;
+ // It goes inside [wfea style="..."], so only class names: no quote or "]" can end it.
+ return Utilities::sanitize_style_classes( $style );
}
/**
--- a/widget-for-eventbrite-api/includes/widgets/elementor/class-eventbrite-widget-elementor.php
+++ b/widget-for-eventbrite-api/includes/widgets/elementor/class-eventbrite-widget-elementor.php
@@ -384,7 +384,11 @@
?>
</div>
<?php
- echo wp_kses( ob_get_clean(), Utilities::get_allowed_html() );
+ // Not passed through kses: this is the shortcode's own output, already escaped where it is built,
+ // and the calendar's inline script carries JSON that kses rewrites into running code. The settings
+ // reach the shortcode through esc_attr and the style through sanitize_style_classes.
+ echo ob_get_clean();
+ // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
/**
--- a/widget-for-eventbrite-api/shortcodes/class-shortcodes.php
+++ b/widget-for-eventbrite-api/shortcodes/class-shortcodes.php
@@ -60,7 +60,8 @@
$sc_atts = shortcode_atts( WidgetForEventbriteAPIFrontEndFrontend::default_args( $initial_atts ), $initial_atts, 'wfea' );
$front_end = new Frontend($this->plugin_name, $this->version, $this->utilities);
$atts = $front_end->sanitize_atts( $sc_atts );
- return $front_end->do_query_template( $atts ) . $debug_message;
+ $key_notice = '';
+ return $key_notice . $front_end->do_query_template( $atts ) . $debug_message;
}
private function check_valid_att( $atts ) {
--- a/widget-for-eventbrite-api/templates__free/parts/booknow__free.php
+++ b/widget-for-eventbrite-api/templates__free/parts/booknow__free.php
@@ -14,17 +14,18 @@
<div class="eaw-booknow"> <?php
switch ( $data->template ) {
case 'divi':
- $wfea_button_markup = '<a %1$s class="wfea-button submit et_pb_button" %3$s aria-label="%2$s %5$s %4$s">%2$s</a>';
+ $wfea_button_markup = '<a %1$s class="wfea-button submit et_pb_button" %3$s aria-label="%6$s %5$s %4$s">%2$s</a>';
break;
default:
- $wfea_button_markup = '<a %1$s class="wfea-button button" %3$s aria-label="%2$s %5$s %4$s">%2$s</a>';
+ $wfea_button_markup = '<a %1$s class="wfea-button button" %3$s aria-label="%6$s %5$s %4$s">%2$s</a>';
}
printf( $wfea_button_markup,
$data->event->booknow,
wp_kses_post( $wfea_cta_text ),
( $data->utilities->get_element( 'newtab', $data->args ) ) ? 'target="_blank"' : '',
esc_attr( $data->utilities->get_event_title() ),
- esc_attr( $data->utilities->get_on_source_label( true ) )
+ esc_attr( $data->utilities->get_on_source_label( true ) ),
+ esc_attr( wp_strip_all_tags( $wfea_cta_text ) )
);
?></div><?php
}
--- a/widget-for-eventbrite-api/templates__free/parts/date_widget.php
+++ b/widget-for-eventbrite-api/templates__free/parts/date_widget.php
@@ -6,5 +6,5 @@
*/
if ( $data->utilities->get_element( 'date', $data->args ) ) {
$wfea_date = $data->utilities->get_event_time($data->args);
- printf( '<time class="eaw-time published" datetime="%1$s">%2$s</time>', esc_html( get_the_modified_date( 'c', $data->utilities->get_event() ) ), esc_html( $wfea_date ) );
+ printf( '<time class="eaw-time published" datetime="%1$s">%2$s</time>', esc_html( $data->utilities->is_time_tbc() ? $data->utilities->get_event_datetime_attr() : get_the_modified_date( 'c', $data->utilities->get_event() ) ), esc_html( $wfea_date ) );
}
--- a/widget-for-eventbrite-api/templates__free/parts/title_widget__free.php
+++ b/widget-for-eventbrite-api/templates__free/parts/title_widget__free.php
@@ -9,8 +9,7 @@
<?php
printf( '<a %1$s title="%2$s" rel="bookmark" %4$s>%3$s</a>',
$data->event->booknow,
- sprintf(
- esc_attr( $data->utilities->get_link_to_label() ), the_title_attribute( array( 'echo' => false, 'post' => $data->utilities->get_event() ) ) ),
+ $data->utilities->safe_sprintf( esc_attr( $data->utilities->get_link_to_label() ), array( the_title_attribute( array( 'echo' => false, 'post' => $data->utilities->get_event() ) ) ), the_title_attribute( array( 'echo' => false, 'post' => $data->utilities->get_event() ) ) ),
the_title_attribute( array( 'echo' => false, 'post' => $data->utilities->get_event() ) ),
( $data->utilities->get_element( 'newtab', $data->args ) ) ? 'target="_blank"' : ''
);
--- a/widget-for-eventbrite-api/widget-for-eventbrite-api.php
+++ b/widget-for-eventbrite-api/widget-for-eventbrite-api.php
@@ -6,7 +6,7 @@
* Plugin Name: Display Eventbrite Events
* Plugin URI: https://fullworksplugins.com/products/widget-for-eventbrite/
* Description: Easily display Eventbrite events on your WordPress site
- * Version: 6.9.1
+ * Version: 6.9.2
* Requires at least: 5.9
* Requires PHP: 7.4
* Author: Fullworks
@@ -50,7 +50,7 @@
define( 'WIDGET_FOR_EVENTBRITE_API_PLUGIN_NAME', basename( WIDGET_FOR_EVENTBRITE_API_PLUGIN_DIR ) );
define( 'WIDGET_FOR_EVENTBRITE_API_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'WIDGET_FOR_EVENTBRITE_API_PLUGINS_TOP_DIR', plugin_dir_path( __DIR__ ) );
-define( 'WIDGET_FOR_EVENTBRITE_API_PLUGIN_VERSION', '6.9.1' );
+define( 'WIDGET_FOR_EVENTBRITE_API_PLUGIN_VERSION', '6.9.2' );
// Tell WP Consent API aware cookie banners that this plugin honours consent, so they can
// report it rather than flagging the Eventbrite checkout as an unmanaged third party.
add_filter( 'wp_consent_api_registered_' . plugin_basename( __FILE__ ), '__return_true' );