PluginProbe
ActivityPub / 8.0.2
ActivityPub v8.0.2
9.3.1 9.3.0 9.2.2 9.2.1 9.2.0 9.1.0 9.0.2 9.0.1 9.0.0 8.3.0 8.2.1 8.2.0 8.1.1 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.2.0 1.3.0 2.0.0 2.0.1 2.1.0 2.1.1 All 160 releases
← All changes | includes/rest/class-following-controller.php +2 -2 8.3.0 → 8.0.2 View file →
@@ -43,9 +43,9 @@
43 43 ),
44 44 array(
45 45 'methods' => \WP_REST_Server::READABLE,
46 46 'callback' => array( $this, 'get_items' ),
47 - 'permission_callback' => array( $this, 'verify_signature' ),
47 + 'permission_callback' => array( 'Activitypub\Rest\Server', 'verify_signature' ),
48 48 'args' => array(
49 49 'page' => array(
50 50 'description' => 'Current page of the collection.',
51 51 'type' => 'integer',
@@ -114,9 +114,9 @@
114 114 // Ensure the context is the first element in the response.
115 115 $response = array( '@context' => Base_Object::JSON_LD_CONTEXT ) + $response;
116 116 }
117 117
118 - if ( $this->show_social_graph( $request ) ) {
118 + if ( Actors::show_social_graph( $user_id ) ) {
119 119 $response['orderedItems'] = \array_filter(
120 120 \array_map(
121 121 static function ( $item ) use ( $context ) {
122 122 if ( 'full' === $context ) {