Plugin Directory

Changeset 3170095


Ignore:
Timestamp:
10/16/2024 11:50:34 AM (18 months ago)
Author:
slimndap
Message:

v0.18.6

Location:
theatre/trunk
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • theatre/trunk/functions/extensions/EDD_SL_Plugin_Updater.php

    r2202012 r3170095  
    1919    private $wp_override = false;
    2020    private $cache_key   = '';
     21   
     22    public $beta;
    2123
    2224    /**
  • theatre/trunk/functions/extensions/wpt_extensions_promo.php

    r2359487 r3170095  
    136136            ?><br class="clear" /><h2><?php _e('Extensions for your movie theater', 'theatre'); ?></h2><?php
    137137            echo  $this->get_extensions_html($extensions_cinema);
    138         }
    139        
    140         $extensions_ticketing = $this->get_extensions_for_category('ticketing');
    141         if (!empty($extensions_ticketing)) {
    142             ?><br class="clear" /><h2><?php _e('Connect your existing ticketing solution', 'theatre'); ?></h2><?php
    143             echo  $this->get_extensions_html($extensions_ticketing);
    144138        }
    145139       
  • theatre/trunk/functions/template/wpt_template_placeholder.php

    r2202012 r3170095  
    4646     */
    4747    public $filters = array();
     48   
     49    public $object;
    4850
    4951    /**
  • theatre/trunk/functions/wpt_admin.php

    r3047330 r3170095  
    11<?php
    22class WPT_Admin {
     3   
     4    public $options;
     5    public $tabs;
     6    public $tab;
     7   
    38    function __construct() {
    49        // Hooks (only in admin screens)
  • theatre/trunk/functions/wpt_event.php

    r2202012 r3170095  
    2525    const tickets_status_soldout = '_soldout';
    2626    const tickets_status_other = '_other';
     27
     28    public $ID;
     29    public $PostClass;
     30    public $post;
     31    public $format;
    2732
    2833    function __construct( $ID = false, $PostClass = false ) {
  • theatre/trunk/functions/wpt_filter.php

    r2202012 r3170095  
    88
    99    class WPT_Filter {
     10       
     11        public $allowed_functions;
    1012       
    1113        function __construct() {
  • theatre/trunk/functions/wpt_importer.php

    r2202012 r3170095  
    4141         */
    4242        private $events_by_ref = array();
     43
     44        protected $data = array();
     45        protected $stats = array();
    4346       
    4447        /**
     
    7780            add_filter('admin_init',array($this,'add_settings_fields'));
    7881            add_filter('wpt_admin_page_tabs',array($this,'add_settings_tab'));
    79             add_action($this->slug.'_import', array($this, 'execute' ));
     82            add_action($this->get( 'slug' ).'_import', array($this, 'execute' ));
    8083           
    8184            add_action( 'add_meta_boxes', array($this, 'add_production_metabox') );
     
    504507         *
    505508         * @since   0.15.20
    506          * @param   string  $key    The property key.
     509         * @param   string  $key        The property key.
    507510         * @return  mixed           The property value.
    508511         */
     
    511514            $value = '';
    512515
    513             if ( isset($this->$key) ) {
    514                 $value = $this->$key;
     516            if ( isset( $this->data[ $key ] ) ) {
     517                $value = $this->data[ $key ];
    515518            }
    516519           
     
    528531            return $value;
    529532           
     533        }
     534
     535        public function __get( $key ) {
     536            return $this->get( $key );
    530537        }
    531538       
     
    664671         */
    665672        function set( $key, $value ) {
    666             $this->$key = $value;
     673            $this->data[ $key ] = $value;
    667674        }
    668675       
  • theatre/trunk/functions/wpt_listing_page.php

    r2202012 r3170095  
    88    class WPT_Listing_Page {
    99       
    10         function __construct() {   
     10        public $options;
     11
     12        function __construct() {   
    1113            if (is_admin()) {
    1214                add_action('admin_init', array($this,'admin_init'));
  • theatre/trunk/functions/wpt_production.php

    r2202012 r3170095  
    33
    44    const post_type_name = 'wp_theatre_prod';
     5   
     6    public $ID;
     7    public $post;
     8    public $title;
     9    public $events;
     10    public $upcoming;
     11    public $cities;
     12    public $categories;
    513
    614    // @codingStandardsIgnoreStart
  • theatre/trunk/functions/wpt_production_permalink.php

    r2202012 r3170095  
    99 */
    1010class WPT_Production_Permalink {
     11   
     12    public $options;
    1113
    1214    function __construct() {
  • theatre/trunk/functions/wpt_setup.php

    r3076318 r3170095  
    11<?php
    22    class WPT_Setup {
     3       
     4        public $options;
     5       
    36        function __construct() {
    47   
  • theatre/trunk/readme.txt

    r3076318 r3170095  
    33Tags: theatre, stage, venue, events, shows, concerts, tickets, ticketing, sports, performances, calendar, festival, workshops, theater, cinema
    44Requires at least: 4.7
    5 Tested up to: 6.5
     5Tested up to: 6.6
    66Requires PHP: 5.4
    77Stable tag: trunk
     
    148148    * Fixes a [PHP warning](https://github.com/slimndap/wp-theatre/issues/279) (0.18.2).
    149149    * Fixes an XSS vulnerability (0.18.4).
    150     * Fixes a PHP error when manually inserting an Event through wp_insert_post() (0.18.5). 
     150    * Fixes a PHP error when manually inserting an Event through wp_insert_post() (0.18.5).
     151    * Fixes a PHP warning that was introduced in PHP 8.2 (0.18.6).
    151152* Deprecations
    152153    * Removed the Cart widget because nobody was using it (0.18.2).
  • theatre/trunk/theater.php

    r3076318 r3170095  
    66    Description: Manage and publish events for your theater, live venue, cinema, club or festival.
    77    Author: Jeroen Schmit
    8     Version: 0.18.5
     8    Version: 0.18.6
    99    Author URI: http://slimndap.com/
    1010    Text Domain: theatre
     
    2929if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    3030   
    31 $wpt_version = '0.18.5';
     31$wpt_version = '0.18.6';
    3232
    3333class WP_Theatre {
     34   
     35    public $wpt_version;
     36    public $setup;
     37    public $admin;
     38    public $status;
     39    public $feeds;
     40    public $listing_page;
     41    public $calendar;
     42    public $context;
     43    public $filter;
     44    public $event_admin;
     45    public $event_editor;
     46    public $events;
     47    public $production_permalink;
     48    public $productions;
     49    public $productions_admin;
     50    public $tags;
     51    public $extensions_updater;
     52    public $extensions_promo;
     53    public $gutenberg;
     54    public $jeero_suggest;
     55    public $order;
     56    public $cart;
     57    public $wpt_language_options;
     58    public $wpt_listing_page_options;
     59    public $wpt_style_options;
     60    public $wpt_tickets_options;   
     61   
    3462    function __construct() {
    3563
    3664        // Set version
    3765        global $wpt_version;
     66
    3867        $this->wpt_version = $wpt_version;
    3968   
Note: See TracChangeset for help on using the changeset viewer.