Skip to content

Commit

Permalink
Enable Link Manager to manage peers.
Browse files Browse the repository at this point in the history
  • Loading branch information
obenland committed Mar 17, 2024
1 parent 0924972 commit f181d75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions includes/handler/class-instance.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public function register_hooks() {
add_filter( 'mastodon_api_instance_v2', array( $this, 'api_instance' ) );
add_filter( 'mastodon_api_instance_extended_description', array( $this, 'api_instance_extended_description' ) );
add_action( 'update_option_blogdescription', array( $this, 'save_created_at' ) );

// Enable the link manager so peers can be added/updated.
add_filter( 'pre_option_link_manager_enabled', '__return_true' );
}

/**
Expand Down

0 comments on commit f181d75

Please sign in to comment.