Skip to content

Commit

Permalink
fix server config
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Jan 31, 2023
1 parent a4a146e commit 24648d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 44 deletions.
10 changes: 1 addition & 9 deletions activitypub.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: ActivityPub
* Plugin URI: https://github.com/pfefferle/wordpress-activitypub/
* Description: The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.
* Version: 0.15.0
* Version: 0.16.0
* Author: Matthias Pfefferle
* Author URI: https://notiz.blog/
* License: MIT
Expand Down Expand Up @@ -84,14 +84,6 @@ function init() {
require_once \dirname( __FILE__ ) . '/includes/class-health-check.php';
\Activitypub\Health_Check::init();

require_once \dirname( __FILE__ ) . '/includes/rest/class-server.php';
\add_filter(
'wp_rest_server_class',
function() {
return '\Activitypub\Rest\Server';
}
);

if ( \WP_DEBUG ) {
require_once \dirname( __FILE__ ) . '/includes/debug.php';
}
Expand Down
35 changes: 0 additions & 35 deletions includes/rest/class-server.php

This file was deleted.

0 comments on commit 24648d6

Please sign in to comment.