Add Support for Event Organiser #83

Merged
linos merged 11 commits from event-organiser into main 2024-11-30 12:26:42 +01:00
2 changed files with 2 additions and 5 deletions
Showing only changes of commit 226095bd05 - Show all commits

View file

@ -103,11 +103,6 @@ function _manually_load_plugin() {
$mec_factory->install();
}
if ( 'event_organiser' === $activitypub_event_bridge_integration_filter ) {
require_once $plugin_dir . 'event-organiser/includes/event-organiser-install.php';
eventorganiser_install();
}
// At last manually load our WordPress plugin.
require dirname( __DIR__ ) . '/activitypub-event-bridge.php';
}

View file

@ -23,6 +23,8 @@ class Test_Event_Organiser extends WP_UnitTestCase {
$aec = \ActivityPub_Event_Bridge\Setup::get_instance();
$aec->activate_activitypub_support_for_active_event_plugins();
eventorganiser_install();
// Delete all posts afterwards.
_delete_all_posts();
}