From c2856a12bd3cddf4fd0d5c5f505583de470e01b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Mon, 16 Dec 2024 01:15:01 +0100 Subject: [PATCH] phpcs --- includes/class-setup.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/class-setup.php b/includes/class-setup.php index 1c42639..d74aab5 100644 --- a/includes/class-setup.php +++ b/includes/class-setup.php @@ -245,6 +245,7 @@ class Setup { Event_Sources::init(); } add_filter( 'activitypub_transformer', array( $this, 'register_activitypub_event_transformer' ), 10, 3 ); + self::get_default_integration_class_name_used_for_event_sources_feature(); } /** @@ -437,7 +438,7 @@ class Setup { $event_plugin_integrations = $setup->get_active_event_plugins(); foreach ( $event_plugin_integrations as $event_plugin_integration ) { if ( $event_plugin_integration instanceof Feature_Event_Sources ) { - return $event_plugin_integration::class; + get_class( $event_plugin_integration ); } } return '';