Skip to content

Commit 808b73f

Browse files
committed
remove unneeded code
1 parent 7ee966e commit 808b73f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

includes/rest/class-actors.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public static function register_routes() {
4141
array(
4242
'methods' => WP_REST_Server::READABLE,
4343
'callback' => array( self::class, 'get' ),
44-
'args' => self::request_parameters(),
4544
'permission_callback' => '__return_true',
4645
),
4746
)
@@ -138,19 +137,4 @@ public static function remote_follow_get( WP_REST_Request $request ) {
138137
200
139138
);
140139
}
141-
142-
/**
143-
* The supported parameters.
144-
*
145-
* @return array List of parameters,
146-
*/
147-
public static function request_parameters() {
148-
$params = array();
149-
150-
$params['page'] = array(
151-
'type' => 'string',
152-
);
153-
154-
return $params;
155-
}
156140
}

0 commit comments

Comments
 (0)