From 50d068b51a0ec623faaab8b69516d609a2967359 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Sun, 24 Feb 2019 13:01:43 +0100 Subject: [PATCH] add WIP OStatus class --- includes/rest/class-ostatus.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/includes/rest/class-ostatus.php b/includes/rest/class-ostatus.php index d959b3d..6324762 100644 --- a/includes/rest/class-ostatus.php +++ b/includes/rest/class-ostatus.php @@ -1,6 +1,13 @@ \WP_REST_Server::READABLE, - 'callback' => array( '\Activitypub\Rest\Ostatus', 'webfinger' ), - 'args' => self::request_parameters(), + 'callback' => array( '\Activitypub\Rest\Ostatus', 'get' ), + // 'args' => self::request_parameters(), ), ) ); } + + public static function get() { + // @todo implement + } }