Changeset 3170138
- Timestamp:
- 10/16/2024 01:09:04 PM (18 months ago)
- Location:
- theatre/trunk
- Files:
-
- 3 edited
-
functions/wpt_frontend.php (modified) (1 diff)
-
functions/wpt_importer.php (modified) (2 diffs)
-
theater.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
theatre/trunk/functions/wpt_frontend.php
r2202012 r3170138 1 1 <?php 2 2 class WPT_Frontend { 3 4 public $options; 5 3 6 function __construct() { 4 7 add_action( 'init', array( $this, 'enqueue_scripts' ) ); -
theatre/trunk/functions/wpt_importer.php
r3170095 r3170138 443 443 } 444 444 445 if ( !isset( $this->stats[ 'events_created' ] ) ) { 446 $this->stats[ 'events_created' ] = 0; 447 } 448 445 449 $this->stats['events_created']++; 446 450 … … 771 775 } 772 776 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 } 775 787 $this->stats['events_updated']++; 776 788 -
theatre/trunk/theater.php
r3170095 r3170138 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.6 8 Version: 0.18.6.1 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.6 ';31 $wpt_version = '0.18.6.1'; 32 32 33 33 class WP_Theatre { … … 59 59 public $wpt_style_options; 60 60 public $wpt_tickets_options; 61 public $frontend; 61 62 62 63 function __construct() {
Note: See TracChangeset
for help on using the changeset viewer.