Add TODO
This commit is contained in:
parent
10419ade57
commit
0318708b4b
@ -16,6 +16,7 @@ require_once plugin_dir_path( __FILE__ ) . '/activities/create.php';
|
||||
require_once plugin_dir_path( __FILE__ ) . '/activities.php';
|
||||
|
||||
function handle_activity( $actor, $activity ) {
|
||||
// TODO handle authentication/authorization
|
||||
if ( !array_key_exists( "type", $activity ) ) {
|
||||
return new \WP_Error(
|
||||
'invalid_activity',
|
||||
|
Loading…
Reference in New Issue
Block a user