💦 FULL SET: Changeset/ - Full Archive

Changeset 3223149


Ignore:
Timestamp:
01/15/2025 07:50:01 PM (12 months ago)
Author:
roundupwp
Message:
  • Fix: When a logged-in user canceled a registration, there would be no email confirmation or email notification.
Location:
registrations-for-the-events-calendar
Files:
143 added
4 edited

Legend:

Unmodified
Added
Removed
  • registrations-for-the-events-calendar/trunk/inc/admin/templates/partials/registrations-list-table-body.php

    r2991109 r3223149  
    55$mvt         = '';
    66$date_format = 'F jS, ' . rtec_get_time_format();
     7$start_date = function_exists( 'tribe_get_start_date' ) ? tribe_get_start_date( $event->ID ) : '';
     8$end_date   = function_exists( 'tribe_get_end_date' ) ? tribe_get_end_date( $event->ID ) : '';
    79?>
    810
    911<tr <?php echo $row_class; ?>>
    1012    <td><a href="<?php $this->the_detailed_view_href( $event->ID, '' ); ?>"><?php echo esc_html( $event_meta['title'] ); ?></a></td>
    11     <td><?php echo date_i18n( $date_format, strtotime( $event_meta['start_date'] ) ); ?></td>
    12     <td><?php echo date_i18n( $date_format, strtotime( $event_meta['end_date'] ) ); ?></td>
     13    <td><?php echo esc_html( $start_date ); ?></td>
     14    <td><?php echo esc_html( $end_date ); ?></td>
    1315    <td class="rtec-venue-highlight"><?php echo esc_html( $venue ); ?></td>
    1416    <td class="rtec-list-attendance"><?php echo esc_html( $event_obj->get_registration_text( array(), $num_registered ) ); ?></td>
  • registrations-for-the-events-calendar/trunk/inc/services/class-rtec-footer-listener-service.php

    r3150239 r3223149  
    255255        $event_data = $logged_in_event_goer->get_event_data();
    256256
     257        global $rtec_options;
     258
     259        $disable_notification = isset( $rtec_options['disable_notification'] ) ? $rtec_options['disable_notification'] : false;
     260
     261        if ( ! $disable_notification ) {
     262            rtec_send_unregistration_notification( array( $event_data['id'] ) );
     263        }
     264
     265        if ( empty( $rtec_options['disable_unregister_confirmation'] ) ) {
     266            rtec_send_unregistration_confirmation( array( $event_data['id'] ) );
     267        }
     268
    257269        $record_was_deleted = RTEC()->db_frontend->remove_record_by_action_key( $event_data['action_key'] );
    258270
  • registrations-for-the-events-calendar/trunk/readme.txt

    r3194453 r3223149  
    77Tested up to: 6.7
    88Requires PHP: 7.4
    9 Stable tag: 2.13.2
     9Stable tag: 2.13.3
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    202202
    203203== Changelog ==
     204= 2.13.3 =
     205* Fix: When a logged-in user canceled a registration, there would be no email confirmation or email notification.
     206
    204207= 2.13.2 =
    205208* Fix: Fixed WordPress notice related to translations being loaded too early.
  • registrations-for-the-events-calendar/trunk/registrations-for-the-events-calendar.php

    r3194453 r3223149  
    33Plugin Name: Registrations for The Events Calendar
    44Description: Collect and manage event registrations with a customizable form and email template. This plugin requires The Events Calendar by Modern Tribe to work.
    5 Version: 2.13.2
     5Version: 2.13.3
    66Author: Roundup WP
    77Author URI: roundupwp.com
     
    1111
    1212/*
    13 Copyright 2024 by Roundup WP LLC
     13Copyright 2025 by Roundup WP LLC
    1414
    1515This program is free software; you can redistribute it and/or
     
    3838// Plugin version.
    3939if ( ! defined( 'RTEC_VERSION' ) ) {
    40     define( 'RTEC_VERSION', '2.13.2' );
     40    define( 'RTEC_VERSION', '2.13.3' );
    4141}
    4242// Plugin Folder Path.
     
    5050
    5151if ( ! defined( 'RTEC_TEC_VER_STRING' ) ) {
    52     define( 'RTEC_TEC_VER_STRING', '.6.8.0' );
     52    define( 'RTEC_TEC_VER_STRING', '.6.8.3' );
    5353}
    5454
Note: See TracChangeset for help on using the changeset viewer.