Changeset 3170095
- Timestamp:
- 10/16/2024 11:50:34 AM (18 months ago)
- Location:
- theatre/trunk
- Files:
-
- 13 edited
-
functions/extensions/EDD_SL_Plugin_Updater.php (modified) (1 diff)
-
functions/extensions/wpt_extensions_promo.php (modified) (1 diff)
-
functions/template/wpt_template_placeholder.php (modified) (1 diff)
-
functions/wpt_admin.php (modified) (1 diff)
-
functions/wpt_event.php (modified) (1 diff)
-
functions/wpt_filter.php (modified) (1 diff)
-
functions/wpt_importer.php (modified) (6 diffs)
-
functions/wpt_listing_page.php (modified) (1 diff)
-
functions/wpt_production.php (modified) (1 diff)
-
functions/wpt_production_permalink.php (modified) (1 diff)
-
functions/wpt_setup.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
theater.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
theatre/trunk/functions/extensions/EDD_SL_Plugin_Updater.php
r2202012 r3170095 19 19 private $wp_override = false; 20 20 private $cache_key = ''; 21 22 public $beta; 21 23 22 24 /** -
theatre/trunk/functions/extensions/wpt_extensions_promo.php
r2359487 r3170095 136 136 ?><br class="clear" /><h2><?php _e('Extensions for your movie theater', 'theatre'); ?></h2><?php 137 137 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><?php143 echo $this->get_extensions_html($extensions_ticketing);144 138 } 145 139 -
theatre/trunk/functions/template/wpt_template_placeholder.php
r2202012 r3170095 46 46 */ 47 47 public $filters = array(); 48 49 public $object; 48 50 49 51 /** -
theatre/trunk/functions/wpt_admin.php
r3047330 r3170095 1 1 <?php 2 2 class WPT_Admin { 3 4 public $options; 5 public $tabs; 6 public $tab; 7 3 8 function __construct() { 4 9 // Hooks (only in admin screens) -
theatre/trunk/functions/wpt_event.php
r2202012 r3170095 25 25 const tickets_status_soldout = '_soldout'; 26 26 const tickets_status_other = '_other'; 27 28 public $ID; 29 public $PostClass; 30 public $post; 31 public $format; 27 32 28 33 function __construct( $ID = false, $PostClass = false ) { -
theatre/trunk/functions/wpt_filter.php
r2202012 r3170095 8 8 9 9 class WPT_Filter { 10 11 public $allowed_functions; 10 12 11 13 function __construct() { -
theatre/trunk/functions/wpt_importer.php
r2202012 r3170095 41 41 */ 42 42 private $events_by_ref = array(); 43 44 protected $data = array(); 45 protected $stats = array(); 43 46 44 47 /** … … 77 80 add_filter('admin_init',array($this,'add_settings_fields')); 78 81 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' )); 80 83 81 84 add_action( 'add_meta_boxes', array($this, 'add_production_metabox') ); … … 504 507 * 505 508 * @since 0.15.20 506 * @param string $key The property key.509 * @param string $key The property key. 507 510 * @return mixed The property value. 508 511 */ … … 511 514 $value = ''; 512 515 513 if ( isset( $this->$key) ) {514 $value = $this-> $key;516 if ( isset( $this->data[ $key ] ) ) { 517 $value = $this->data[ $key ]; 515 518 } 516 519 … … 528 531 return $value; 529 532 533 } 534 535 public function __get( $key ) { 536 return $this->get( $key ); 530 537 } 531 538 … … 664 671 */ 665 672 function set( $key, $value ) { 666 $this-> $key= $value;673 $this->data[ $key ] = $value; 667 674 } 668 675 -
theatre/trunk/functions/wpt_listing_page.php
r2202012 r3170095 8 8 class WPT_Listing_Page { 9 9 10 function __construct() { 10 public $options; 11 12 function __construct() { 11 13 if (is_admin()) { 12 14 add_action('admin_init', array($this,'admin_init')); -
theatre/trunk/functions/wpt_production.php
r2202012 r3170095 3 3 4 4 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; 5 13 6 14 // @codingStandardsIgnoreStart -
theatre/trunk/functions/wpt_production_permalink.php
r2202012 r3170095 9 9 */ 10 10 class WPT_Production_Permalink { 11 12 public $options; 11 13 12 14 function __construct() { -
theatre/trunk/functions/wpt_setup.php
r3076318 r3170095 1 1 <?php 2 2 class WPT_Setup { 3 4 public $options; 5 3 6 function __construct() { 4 7 -
theatre/trunk/readme.txt
r3076318 r3170095 3 3 Tags: theatre, stage, venue, events, shows, concerts, tickets, ticketing, sports, performances, calendar, festival, workshops, theater, cinema 4 4 Requires at least: 4.7 5 Tested up to: 6. 55 Tested up to: 6.6 6 6 Requires PHP: 5.4 7 7 Stable tag: trunk … … 148 148 * Fixes a [PHP warning](https://github.com/slimndap/wp-theatre/issues/279) (0.18.2). 149 149 * 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). 151 152 * Deprecations 152 153 * Removed the Cart widget because nobody was using it (0.18.2). -
theatre/trunk/theater.php
r3076318 r3170095 6 6 Description: Manage and publish events for your theater, live venue, cinema, club or festival. 7 7 Author: Jeroen Schmit 8 Version: 0.18. 58 Version: 0.18.6 9 9 Author URI: http://slimndap.com/ 10 10 Text Domain: theatre … … 29 29 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 30 30 31 $wpt_version = '0.18. 5';31 $wpt_version = '0.18.6'; 32 32 33 33 class 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 34 62 function __construct() { 35 63 36 64 // Set version 37 65 global $wpt_version; 66 38 67 $this->wpt_version = $wpt_version; 39 68
Note: See TracChangeset
for help on using the changeset viewer.