diff --git a/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-tumblr-gifs.php b/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-tumblr-gifs.php index 2a194c3ecbf70..d653da7a35f5b 100644 --- a/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-tumblr-gifs.php +++ b/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-tumblr-gifs.php @@ -68,7 +68,7 @@ public function register_routes() { /** * Check if the request has permissions to access the endpoint. * - * @return bool + * @return bool|WP_Error */ public function check_permissions() { if ( current_user_can( 'edit_posts' ) ) {