Skip to content

Commit

Permalink
Update to use the new Service_Provider contract in common.
Browse files Browse the repository at this point in the history
  • Loading branch information
borkweb committed Jun 24, 2023
1 parent e5b4dc5 commit 9af89f8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: theeventscalendar, brianjessee
Donate link: https://evnt.is/29
Tags: events, calendar
Requires at least: 5.8.6
Stable tag: 1.0.3
Stable tag: 1.0.4
Tested up to: 6.1.1
Requires PHP: 7.3
License: GPLv2 or later
Expand Down Expand Up @@ -37,6 +37,10 @@ We're always interested in your feedback and our [Help Desk](https://support.the

== Changelog ==

= [1.0.4] 2023-06-24 =

* Fix - Update to use the new Service_Provider contract in common.

= [1.0.3] 2023-01-04 =

* Fix - Modify the redirect url for app authorization to support the latest standards from Hubspot. [EXT-283]
Expand Down
4 changes: 3 additions & 1 deletion src/Tribe/Service_Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace Tribe\HubSpot;

use TEC\Common\Contracts\Service_Provider;

/**
* Class Tribe\HubSpot\Service_Provider
*
Expand All @@ -13,7 +15,7 @@
* @since 1.0
*
*/
class Service_Provider extends \tad_DI52_ServiceProvider {
class Service_Provider extends Service_Provider {

/**
* Binds and sets up implementations.
Expand Down
6 changes: 3 additions & 3 deletions src/Tribe/Setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ class Setup extends Tribe__Extension {
*/
public function construct() {

$this->add_required_plugin( 'Tribe__Tickets__Main', '5.4' );
$this->add_required_plugin( 'Tribe__Tickets_Plus__Main', '5.5' );
$this->add_required_plugin( 'Tribe__Events__Main', '5.15' );
$this->add_required_plugin( 'Tribe__Tickets__Main', '5.6.1.1' );
$this->add_required_plugin( 'Tribe__Tickets_Plus__Main', '5.7.1' );
$this->add_required_plugin( 'Tribe__Events__Main', '6.1.2.2' );

// Connect into Queue Filter, if done later it does not add the handler.
add_action( 'tribe_process_queues', [ $this, 'queue_handlers' ] );
Expand Down
2 changes: 1 addition & 1 deletion tribe-ext-hubspot.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin URI: http://m.tri.be/hubspot
* GitHub Plugin URI: https://github.com/mt-support/tribe-ext-hubspot
* Description: Event Tickets and Event Tickets Plus HubSpot Integration
* Version: 1.0.3
* Version: 1.0.4
* Extension Class: Tribe\HubSpot\Setup
* Author: The Events Calendar
* Author URI: https://evnt.is/1aor
Expand Down

0 comments on commit 9af89f8

Please sign in to comment.