From 657fccb2de2c9a1224a1ebd497f64ccc9c004d8f Mon Sep 17 00:00:00 2001 From: Andrey Savchenko Date: Wed, 30 Jan 2019 19:01:15 +0200 Subject: [PATCH] Deprecated dedicated classes for extension events. --- CHANGELOG.md | 3 +++ src/Event/Genesis_Events.php | 2 ++ src/Event/Hybrid_Events.php | 2 ++ src/Event/THA_Events.php | 2 ++ src/Event/WooCommerce_Events.php | 2 ++ src/Event/Yoast_Events.php | 2 ++ 6 files changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd84285..8286735 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - handling of reoccurring hook events - tracking of load events when network–activated +### Deprecated +- dedicated classes for extension events. + ## 3.1 - 2019-01-22 ### Added diff --git a/src/Event/Genesis_Events.php b/src/Event/Genesis_Events.php index 5aa3ae6..6ff8291 100644 --- a/src/Event/Genesis_Events.php +++ b/src/Event/Genesis_Events.php @@ -7,6 +7,8 @@ namespace Rarst\Laps\Event; * Events for Genesis Framework based themes * * @link http://my.studiopress.com/themes/genesis/ + * + * @deprecated 3.2:4.0 Events going to be moved to Extension_Events class. */ class Genesis_Events implements Hook_Event_Config_Interface { diff --git a/src/Event/Hybrid_Events.php b/src/Event/Hybrid_Events.php index e3fa779..e19e7cc 100644 --- a/src/Event/Hybrid_Events.php +++ b/src/Event/Hybrid_Events.php @@ -7,6 +7,8 @@ namespace Rarst\Laps\Event; * Events for Hybrid Core based themes * * @link http://themehybrid.com/hybrid-core + * + * @deprecated 3.2:4.0 Events going to be moved to Extension_Events class. */ class Hybrid_Events implements Hook_Event_Config_Interface { diff --git a/src/Event/THA_Events.php b/src/Event/THA_Events.php index 04bbfde..01b51d1 100644 --- a/src/Event/THA_Events.php +++ b/src/Event/THA_Events.php @@ -7,6 +7,8 @@ namespace Rarst\Laps\Event; * Events for Theme Hook Alliance * * @link http://zamoose.github.io/themehookalliance/ + * + * @deprecated 3.2:4.0 Events going to be moved to Extension_Events class. */ class THA_Events implements Hook_Event_Config_Interface { diff --git a/src/Event/WooCommerce_Events.php b/src/Event/WooCommerce_Events.php index 89d8e2c..2ebe7c6 100644 --- a/src/Event/WooCommerce_Events.php +++ b/src/Event/WooCommerce_Events.php @@ -5,6 +5,8 @@ namespace Rarst\Laps\Event; /** * Events for WooCommerce plugin + * + * @deprecated 3.2:4.0 Events going to be moved to Extension_Events class. */ class WooCommerce_Events implements Hook_Event_Config_Interface { diff --git a/src/Event/Yoast_Events.php b/src/Event/Yoast_Events.php index 0b94c8f..bfbfade 100644 --- a/src/Event/Yoast_Events.php +++ b/src/Event/Yoast_Events.php @@ -5,6 +5,8 @@ namespace Rarst\Laps\Event; /** * Events for Yoast plugins + * + * @deprecated 3.2:4.0 Events going to be moved to Extension_Events class. */ class Yoast_Events implements Hook_Event_Config_Interface {