added admin_email to metadata
to be able to "Manage your instance" on https://fediverse.network/manage/
This commit is contained in:
parent
1665ad65df
commit
b6b0743b3f
4 changed files with 12 additions and 2 deletions
|
@ -84,6 +84,10 @@ Where 'blog' is the path to the subdirectory at which your blog resides.
|
||||||
|
|
||||||
Project maintained on GitHub at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
|
Project maintained on GitHub at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
|
||||||
|
|
||||||
|
### 0.7.4 ###
|
||||||
|
|
||||||
|
* added admin_email to metadata, to be able to "Manage your instance" on https://fediverse.network/manage/
|
||||||
|
|
||||||
### 0.7.3 ###
|
### 0.7.3 ###
|
||||||
|
|
||||||
* refactorings
|
* refactorings
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* Plugin Name: ActivityPub
|
* Plugin Name: ActivityPub
|
||||||
* Plugin URI: https://github.com/pfefferle/wordpress-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.
|
* Description: The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.
|
||||||
* Version: 0.7.3
|
* Version: 0.7.4
|
||||||
* Author: Matthias Pfefferle
|
* Author: Matthias Pfefferle
|
||||||
* Author URI: https://notiz.blog/
|
* Author URI: https://notiz.blog/
|
||||||
* License: MIT
|
* License: MIT
|
||||||
|
|
|
@ -129,7 +129,9 @@ class Nodeinfo {
|
||||||
'outbound' => array(),
|
'outbound' => array(),
|
||||||
);
|
);
|
||||||
|
|
||||||
$nodeinfo['metadata'] = new \stdClass();
|
$nodeinfo['metadata'] = array(
|
||||||
|
'email' => get_option( 'admin_email' ),
|
||||||
|
);
|
||||||
|
|
||||||
return new \WP_REST_Response( $nodeinfo, 200 );
|
return new \WP_REST_Response( $nodeinfo, 200 );
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,6 +84,10 @@ Where 'blog' is the path to the subdirectory at which your blog resides.
|
||||||
|
|
||||||
Project maintained on GitHub at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
|
Project maintained on GitHub at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
|
||||||
|
|
||||||
|
= 0.7.4 =
|
||||||
|
|
||||||
|
* added admin_email to metadata, to be able to "Manage your instance" on https://fediverse.network/manage/
|
||||||
|
|
||||||
= 0.7.3 =
|
= 0.7.3 =
|
||||||
|
|
||||||
* refactorings
|
* refactorings
|
||||||
|
|
Loading…
Reference in a new issue