diff --git a/inc/outbox.php b/inc/outbox.php index 18b2b0f..8d0aa3a 100644 --- a/inc/outbox.php +++ b/inc/outbox.php @@ -70,7 +70,8 @@ function handle_activity( $actor, $activity ) { ); break; default: - // handle wrapping object in Create activity + $create_activity = wrap_object_in_create( $activity ); + $activity = \activities\create\handle( $actor, $create_activity ); break; } if ( is_wp_error( $activity ) ) { @@ -100,6 +101,10 @@ function persist_activity( $actor, $activity ) { return $response; } +function wrap_object_in_create( $object ) { + // TODO +} + function create_outbox_table() { global $wpdb; $wpdb->query(