Event Tickets - Version 4.4.0.1

Version Description

Download this release

Release Info

Developer barry.hughes
Plugin Icon 128x128 Event Tickets
Version 4.4.0.1
Comparing to
See all releases

Code changes from version 4.4 to 4.4.0.1

Files changed (3) hide show
  1. event-tickets.php +1 -1
  2. readme.txt +5 -1
  3. src/Tribe/Main.php +11 -1
event-tickets.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Event Tickets
4
  Description: Event Tickets allows your guests to RSVP from any post, page, or event.
5
- Version: 4.4
6
  Author: Modern Tribe, Inc.
7
  Author URI: http://m.tri.be/28
8
  License: GPLv2 or later
2
  /*
3
  Plugin Name: Event Tickets
4
  Description: Event Tickets allows your guests to RSVP from any post, page, or event.
5
+ Version: 4.4.0.1
6
  Author: Modern Tribe, Inc.
7
  Author URI: http://m.tri.be/28
8
  License: GPLv2 or later
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: ModernTribe, borkweb, zbtirrell, barry.hughes, bordoni, brianjesse
4
  Tags: events, add-on, ticket sales, tickets, calendar, community, registration, api, dates, date, posts, workshop, conference, meeting, seminar, concert, summit, The Events Calendar, Events Calendar PRO, ticket integration, event ticketing, RSVP, Event Tickets, Event Tickets Plus
5
  Requires at least: 3.9
6
  Tested up to: 4.7
7
- Stable tag: 4.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -207,6 +207,10 @@ Our Premium Plugins:
207
 
208
  == Changelog ==
209
 
 
 
 
 
210
  = [4.4] 2017-01-09 =
211
 
212
  * Fix - Help page is now accessible even if The Events Calendar is not active on the site [69248]
4
  Tags: events, add-on, ticket sales, tickets, calendar, community, registration, api, dates, date, posts, workshop, conference, meeting, seminar, concert, summit, The Events Calendar, Events Calendar PRO, ticket integration, event ticketing, RSVP, Event Tickets, Event Tickets Plus
5
  Requires at least: 3.9
6
  Tested up to: 4.7
7
+ Stable tag: 4.4.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
207
 
208
  == Changelog ==
209
 
210
+ = [4.4.0.1] 2017-01-09 =
211
+
212
+ * Fix - Adds safety check to ensure a smooth activation process when earlier versions of Tribe Common are active
213
+
214
  = [4.4] 2017-01-09 =
215
 
216
  * Fix - Help page is now accessible even if The Events Calendar is not active on the site [69248]
src/Tribe/Main.php CHANGED
@@ -5,13 +5,18 @@ class Tribe__Tickets__Main {
5
  /**
6
  * Current version of this plugin
7
  */
8
- const VERSION = '4.4';
9
 
10
  /**
11
  * Min required The Events Calendar version
12
  */
13
  const MIN_TEC_VERSION = '4.4';
14
 
 
 
 
 
 
15
  /**
16
  * Name of the provider
17
  * @var
@@ -139,6 +144,11 @@ class Tribe__Tickets__Main {
139
  */
140
  $this->init_autoloading();
141
 
 
 
 
 
 
142
  /**
143
  * We need Common to be able to load text domains correctly.
144
  * With that in mind we initialize Common passing the plugin Main class as the context
5
  /**
6
  * Current version of this plugin
7
  */
8
+ const VERSION = '4.4.0.1';
9
 
10
  /**
11
  * Min required The Events Calendar version
12
  */
13
  const MIN_TEC_VERSION = '4.4';
14
 
15
+ /**
16
+ * Min required version of Tribe Common
17
+ */
18
+ const MIN_COMMON_VERSION = '4.4';
19
+
20
  /**
21
  * Name of the provider
22
  * @var
144
  */
145
  $this->init_autoloading();
146
 
147
+ // Safety check: if Tribe Common is not at a certain minimum version, bail out
148
+ if ( version_compare( Tribe__Main::VERSION, self::MIN_COMMON_VERSION, '<' ) ) {
149
+ return;
150
+ }
151
+
152
  /**
153
  * We need Common to be able to load text domains correctly.
154
  * With that in mind we initialize Common passing the plugin Main class as the context