| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: ActivityPub |
| 4 | 4 | * Plugin URI: https://github.com/Automattic/wordpress-activitypub |
| 5 | 5 | * Description: The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format. |
| 6 | - * Version: 8.2.1 | |
| 6 | + * Version: 9.2.1 | |
| 7 | 7 | * Author: Matthias Pfefferle & Automattic |
| 8 | 8 | * Author URI: https://automattic.com/ |
| 9 | 9 | * License: MIT |
| 10 | 10 | * License URI: http://opensource.org/licenses/MIT |
| @@ -16,9 +16,9 @@ | ||
| 16 | 16 | */ |
| 17 | 17 | |
| 18 | 18 | namespace Activitypub; |
| 19 | 19 | |
| 20 | -\define( 'ACTIVITYPUB_PLUGIN_VERSION', '8.2.1' ); | |
| 20 | +\define( 'ACTIVITYPUB_PLUGIN_VERSION', '9.2.1' ); | |
| 21 | 21 | |
| 22 | 22 | // Plugin related constants. |
| 23 | 23 | \define( 'ACTIVITYPUB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); |
| 24 | 24 | \define( 'ACTIVITYPUB_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); |
| @@ -64,8 +64,9 @@ | ||
| 64 | 64 | ( new Rest\Inbox_Controller() )->register_routes(); |
| 65 | 65 | ( new Rest\Interaction_Controller() )->register_routes(); |
| 66 | 66 | ( new Rest\Moderators_Controller() )->register_routes(); |
| 67 | 67 | if ( \get_option( 'activitypub_api', false ) ) { |
| 68 | + ( new Rest\Actor_Autocomplete_Controller() )->register_routes(); | |
| 68 | 69 | ( new Rest\OAuth\Authorization_Controller() )->register_routes(); |
| 69 | 70 | ( new Rest\OAuth\Clients_Controller() )->register_routes(); |
| 70 | 71 | ( new Rest\OAuth\Token_Controller() )->register_routes(); |
| 71 | 72 | } |
| @@ -86,9 +87,11 @@ | ||
| 86 | 87 | * Initialize plugin. |
| 87 | 88 | */ |
| 88 | 89 | function plugin_init() { |
| 89 | 90 | \add_action( 'init', array( __NAMESPACE__ . '\Activitypub', 'init' ) ); |
| 91 | + \add_action( 'init', array( __NAMESPACE__ . '\Application', 'init' ) ); | |
| 90 | 92 | \add_action( 'init', array( __NAMESPACE__ . '\Avatars', 'init' ) ); |
| 93 | + \add_action( 'init', array( __NAMESPACE__ . '\Blurhash', 'init' ) ); | |
| 91 | 94 | \add_action( 'init', array( __NAMESPACE__ . '\Cache', 'init' ) ); |
| 92 | 95 | \add_action( 'init', array( __NAMESPACE__ . '\Comment', 'init' ) ); |
| 93 | 96 | \add_action( 'init', array( __NAMESPACE__ . '\Dispatcher', 'init' ) ); |
| 94 | 97 | \add_action( 'init', array( __NAMESPACE__ . '\Embed', 'init' ) ); |