diff --git a/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-external-media.php b/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-external-media.php index 2efbb60c6f397..5c6a39d4d9994 100644 --- a/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-external-media.php +++ b/projects/plugins/jetpack/_inc/lib/core-api/wpcom-endpoints/class-wpcom-rest-api-v2-endpoint-external-media.php @@ -423,8 +423,7 @@ public function delete_connection( WP_REST_Request $request ) { $wpcom_path, '2', array( - 'method' => 'DELETE', - 'blog_id' => Manager::get_site_id(), + 'method' => 'DELETE', ) ); diff --git a/projects/plugins/jetpack/changelog/fix-external-media-endpoint-return-value b/projects/plugins/jetpack/changelog/fix-external-media-endpoint-return-value new file mode 100644 index 0000000000000..0c7e784ac5fd1 --- /dev/null +++ b/projects/plugins/jetpack/changelog/fix-external-media-endpoint-return-value @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +External Media: Remove unneeded return value