From a66dc74577eb44baabfee489f53f3ef84dae7e38 Mon Sep 17 00:00:00 2001 From: ruru4143 Date: Sun, 29 Sep 2024 12:52:17 +0200 Subject: [PATCH] added comments about removing some old stuff --- includes/activitypub/transformer/class-events-manager.php | 6 +++--- includes/activitypub/transformer/class-gatherpress.php | 4 ++-- includes/activitypub/transformer/class-vs-event-list.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/activitypub/transformer/class-events-manager.php b/includes/activitypub/transformer/class-events-manager.php index 8d7bfd6..df70ecb 100644 --- a/includes/activitypub/transformer/class-events-manager.php +++ b/includes/activitypub/transformer/class-events-manager.php @@ -45,7 +45,7 @@ final class Events_Manager extends Event_Transformer { * @access public * @return string Widget name. */ - public function get_transformer_name() { + public function get_transformer_name() { // todo can we remove this or is this in use? return 'activitypub-event-transformers/events-manager'; } @@ -58,7 +58,7 @@ final class Events_Manager extends Event_Transformer { * @access public * @return string Widget title. */ - public function get_transformer_label() { + public function get_transformer_label() { // todo can we remove this or is this in use? return 'Events Manager'; } @@ -71,7 +71,7 @@ final class Events_Manager extends Event_Transformer { * @access public * @return array Widget categories. */ - public static function get_supported_post_types() { + public static function get_supported_post_types() { // todo can we remove this or is this in use? return array(); } diff --git a/includes/activitypub/transformer/class-gatherpress.php b/includes/activitypub/transformer/class-gatherpress.php index 397125c..803b799 100644 --- a/includes/activitypub/transformer/class-gatherpress.php +++ b/includes/activitypub/transformer/class-gatherpress.php @@ -29,7 +29,7 @@ final class GatherPress extends Event { * * @var Event */ - protected $ap_object; + protected $ap_object; // todo can we remove this or is this in use? /** * The current GatherPress Event object. @@ -69,7 +69,7 @@ final class GatherPress extends Event { * @access public * @return array Widget categories. */ - public static function get_supported_post_types() { + public static function get_supported_post_types() { // todo can we remove this or is this in use? return array( GatherPress_Event::POST_TYPE ); } diff --git a/includes/activitypub/transformer/class-vs-event-list.php b/includes/activitypub/transformer/class-vs-event-list.php index e9dd247..95556b8 100644 --- a/includes/activitypub/transformer/class-vs-event-list.php +++ b/includes/activitypub/transformer/class-vs-event-list.php @@ -28,7 +28,7 @@ final class VS_Event_List extends Event_Transformer { * * @var Event */ - protected $ap_object; + protected $ap_object; // todo can we remove this or is this in use? /** * Get the event location.