diff --git a/readme.txt b/readme.txt index f4a82c0..2bfc278 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: events, calendar Requires at least: 5.0 Tested up to: 6.0 Requires PHP: 7.4 -Stable tag: 2.0.0 +Stable tag: 2.0.1 License: GPL version 3 or any later version License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -37,6 +37,10 @@ We're always interested in your feedback and our [Help Desk](https://support.the == Changelog == += [2.0.1] 2023-06-24 = + +* Fix - Update to use the new Service_Provider contract in common. + = [2.0.0] 2022-06-05 = * Switched to the new extension codebase. diff --git a/src/Tec/Assets.php b/src/Tec/Assets.php index 7d3f04d..8da1034 100644 --- a/src/Tec/Assets.php +++ b/src/Tec/Assets.php @@ -15,6 +15,8 @@ namespace Tec\Extensions\Admin_Bar_Plus; +use TEC\Common\Contracts\Service_Provider; + /** * Register Assets. * @@ -22,7 +24,7 @@ * * @package Tec\Extensions\Admin_Bar_Plus */ -class Assets extends \tad_DI52_ServiceProvider { +class Assets extends Service_Provider { /** * Binds and sets up implementations. * diff --git a/src/Tec/Hooks.php b/src/Tec/Hooks.php index c700b31..fdd10e6 100644 --- a/src/Tec/Hooks.php +++ b/src/Tec/Hooks.php @@ -21,6 +21,7 @@ namespace Tec\Extensions\Admin_Bar_Plus; +use TEC\Common\Contracts\Service_Provider; use Tribe__Main as Common; /** @@ -30,7 +31,7 @@ * * @package Tec\Extensions\Admin_Bar_Plus; */ -class Hooks extends \tad_DI52_ServiceProvider { +class Hooks extends Service_Provider { /** * Binds and sets up implementations. diff --git a/src/Tec/PUE.php b/src/Tec/PUE.php index 1bb8ccc..d791b39 100644 --- a/src/Tec/PUE.php +++ b/src/Tec/PUE.php @@ -9,6 +9,7 @@ namespace Tec\Extensions\Admin_Bar_Plus; +use TEC\Common\Contracts\Service_Provider; use Tribe__PUE__Checker; /** @@ -18,7 +19,7 @@ * * @package Tec\Extensions\Admin_Bar_Plus; */ -class PUE extends \tad_DI52_ServiceProvider { +class PUE extends Service_Provider { /** * The slug used for PUE. diff --git a/src/Tec/Plugin.php b/src/Tec/Plugin.php index c78e750..223c4b5 100644 --- a/src/Tec/Plugin.php +++ b/src/Tec/Plugin.php @@ -9,6 +9,7 @@ namespace Tec\Extensions\Admin_Bar_Plus; +use TEC\Common\Contracts\Service_Provider; use Tribe__Dependency; /** @@ -18,7 +19,7 @@ * * @package Tec\Extensions\Admin_Bar_Plus */ -class Plugin extends \tad_DI52_ServiceProvider { +class Plugin extends Service_Provider { /** * Stores the version for the plugin. * @@ -26,7 +27,7 @@ class Plugin extends \tad_DI52_ServiceProvider { * * @var string */ - const VERSION = '2.0.0'; + const VERSION = '2.0.1'; /** * Stores the base slug for the plugin. diff --git a/src/Tec/Plugin_Register.php b/src/Tec/Plugin_Register.php index bf0213e..0cd159c 100644 --- a/src/Tec/Plugin_Register.php +++ b/src/Tec/Plugin_Register.php @@ -26,7 +26,7 @@ class Plugin_Register extends Abstract_Plugin_Register { protected $main_class = Plugin::class; protected $dependencies = [ 'parent-dependencies' => [ - 'Tribe__Events__Main' => '5.1.0-dev', + 'Tribe__Events__Main' => '6.1.2-dev', ], ]; }