updated plugin ActivityPub version 9.1.0

This commit is contained in:
2026-07-28 15:03:10 +00:00
committed by Gitium
parent bf428f0e45
commit ff806e1811
217 changed files with 6098 additions and 3025 deletions

View File

@ -3,7 +3,7 @@
* Plugin Name: ActivityPub
* Plugin URI: https://github.com/Automattic/wordpress-activitypub
* Description: The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.
* Version: 8.3.0
* Version: 9.1.0
* Author: Matthias Pfefferle & Automattic
* Author URI: https://automattic.com/
* License: MIT
@ -17,7 +17,7 @@
namespace Activitypub;
\define( 'ACTIVITYPUB_PLUGIN_VERSION', '8.3.0' );
\define( 'ACTIVITYPUB_PLUGIN_VERSION', '9.1.0' );
// Plugin related constants.
\define( 'ACTIVITYPUB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
@ -65,6 +65,7 @@ function rest_init() {
( new Rest\Interaction_Controller() )->register_routes();
( new Rest\Moderators_Controller() )->register_routes();
if ( \get_option( 'activitypub_api', false ) ) {
( new Rest\Actor_Autocomplete_Controller() )->register_routes();
( new Rest\OAuth\Authorization_Controller() )->register_routes();
( new Rest\OAuth\Clients_Controller() )->register_routes();
( new Rest\OAuth\Token_Controller() )->register_routes();
@ -87,7 +88,9 @@ function rest_init() {
*/
function plugin_init() {
\add_action( 'init', array( __NAMESPACE__ . '\Activitypub', 'init' ) );
\add_action( 'init', array( __NAMESPACE__ . '\Application', 'init' ) );
\add_action( 'init', array( __NAMESPACE__ . '\Avatars', 'init' ) );
\add_action( 'init', array( __NAMESPACE__ . '\Blurhash', 'init' ) );
\add_action( 'init', array( __NAMESPACE__ . '\Cache', 'init' ) );
\add_action( 'init', array( __NAMESPACE__ . '\Comment', 'init' ) );
\add_action( 'init', array( __NAMESPACE__ . '\Dispatcher', 'init' ) );