Plugin Directory

Changeset 3170138


Ignore:
Timestamp:
10/16/2024 01:09:04 PM (18 months ago)
Author:
slimndap
Message:

v0.18.6.1

Location:
theatre/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • theatre/trunk/functions/wpt_frontend.php

    r2202012 r3170138  
    11<?php
    22class WPT_Frontend {
     3   
     4    public $options;
     5   
    36    function __construct() {
    47        add_action( 'init', array( $this, 'enqueue_scripts' ) );
  • theatre/trunk/functions/wpt_importer.php

    r3170095 r3170138  
    443443                }
    444444
     445                if ( !isset( $this->stats[ 'events_created' ] ) ) {
     446                    $this->stats[ 'events_created' ] = 0;
     447                }
     448
    445449                $this->stats['events_created']++;
    446450               
     
    771775            }
    772776
    773             $this->set('marked_events', array_diff( $this->get('marked_events'), array( $event->ID ) ) );
    774 
     777            $marked_events = $this->get('marked_events');
     778            if ( !is_array( $marked_events ) ) {
     779                $marked_events = array();
     780            }
     781
     782            $this->set('marked_events', array_diff( $marked_events, array( $event->ID ) ) );
     783
     784            if ( !isset( $this->stats[ 'events_updated' ] ) ) {
     785                $this->stats[ 'events_updated' ] = 0;
     786            }
    775787            $this->stats['events_updated']++;
    776788           
  • theatre/trunk/theater.php

    r3170095 r3170138  
    66    Description: Manage and publish events for your theater, live venue, cinema, club or festival.
    77    Author: Jeroen Schmit
    8     Version: 0.18.6
     8    Version: 0.18.6.1
    99    Author URI: http://slimndap.com/
    1010    Text Domain: theatre
     
    2929if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    3030   
    31 $wpt_version = '0.18.6';
     31$wpt_version = '0.18.6.1';
    3232
    3333class WP_Theatre {
     
    5959    public $wpt_style_options;
    6060    public $wpt_tickets_options;   
     61    public $frontend;   
    6162   
    6263    function __construct() {
Note: See TracChangeset for help on using the changeset viewer.