Skip to content

Commit e483fc8

Browse files
authored
Add Attachments processor class for handling ActivityPub media (#2314)
1 parent 54344f8 commit e483fc8

File tree

9 files changed

+1673
-106
lines changed

9 files changed

+1673
-106
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: added
3+
4+
Add unified attachment processor for handling ActivityPub media imports from both remote URLs and local files, with automatic media block generation and Classic Editor support.

activitypub.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ function rest_init() {
6969
*/
7070
function plugin_init() {
7171
\add_action( 'init', array( __NAMESPACE__ . '\Activitypub', 'init' ) );
72+
\add_action( 'init', array( __NAMESPACE__ . '\Attachments', 'init' ) );
7273
\add_action( 'init', array( __NAMESPACE__ . '\Comment', 'init' ) );
7374
\add_action( 'init', array( __NAMESPACE__ . '\Dispatcher', 'init' ) );
7475
\add_action( 'init', array( __NAMESPACE__ . '\Embed', 'init' ) );

0 commit comments

Comments
 (0)