Skip to content

Commit

Permalink
fix #891
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Sep 12, 2024
1 parent ad99fda commit 51dea3d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions integration/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ function plugin_init() {
*
* @see https://wordpress.org/plugins/enable-mastodon-apps/
*/
require_once __DIR__ . '/class-enable-mastodon-apps.php';
Enable_Mastodon_Apps::init();
if ( \defined( 'MASTODON_APPS_VERSION' ) ) {
require_once __DIR__ . '/class-enable-mastodon-apps.php';
Enable_Mastodon_Apps::init();
}

/**
* Adds OpenGraph support.
Expand Down

0 comments on commit 51dea3d

Please sign in to comment.