Plugin Directory

Changeset 3462388


Ignore:
Timestamp:
02/16/2026 10:29:17 AM (6 weeks ago)
Author:
slimndap
Message:

1.2.1

Location:
ticket-buttons-for-the-events-calendar/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ticket-buttons-for-the-events-calendar/trunk/includes/Frontend/Frontend.php

    r2858349 r3462388  
    3030   
    3131    $settings = \TBTEC\get_settings();
    32    
    33     $series = tec_event_series( get_the_id() );
    3432
    35     if ( $series ) {
     33    $series = false;
     34    if ( function_exists( 'tec_event_series' ) ) {
     35        $series = tec_event_series( $event_id );
     36    }
     37
     38    if ( $series && ! empty( $series->ID ) ) {
    3639        $tickets = \TBTEC\get_tickets_for_series( $series->ID );
    3740    } else {
    38         $tickets = \TBTEC\get_tickets_for_event( get_the_id() );   
     41        $tickets = \TBTEC\get_tickets_for_event( $event_id );
    3942    }
    4043       
  • ticket-buttons-for-the-events-calendar/trunk/readme.txt

    r2858349 r3462388  
    33Tags: calendar, tickets, events, button
    44Requires PHP: 7.2
    5 Requires at least: 4.6
    6 Tested up to: 6.1
    7 Stable tag: trunk
     5Tested up to: 6.9
     6Stable tag: 1.2.1
    87License: GPLv2 or later
    98License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2019== Changelog ==
    2120
     21= 1.2.1 =
     22
     23* Fixed compatibility with TEC versions that do not support event series.
     24
    2225= 1.2 =
    2326
  • ticket-buttons-for-the-events-calendar/trunk/ticket-buttons-for-the-events-calendar.php

    r2858349 r3462388  
    66 * Author:          Slim & Dapper
    77 * Author URI:      https://slimndap.com
    8  * Version:         1.2
     8 * Version:         1.2.1
    99 * Text Domain:     TBTEC
    1010 *
     
    1919}
    2020
    21 define( 'TBTEC\VERSION', '1.2' );
     21define( 'TBTEC\VERSION', '1.2.1' );
    2222define( 'TBTEC\PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
    2323define( 'TBTEC\PLUGIN_URI', plugin_dir_url( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.