From 299d48ff977d80fd8ab6b971eb462a977d247ca8 Mon Sep 17 00:00:00 2001 From: Matthew Reishus Date: Fri, 5 Nov 2021 15:32:13 -0500 Subject: [PATCH] Spelling fix --- .../class-wpcom-rest-api-v2-endpoint-external-media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 1011b96370067..ac90eaf286c1b 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 @@ -485,7 +485,7 @@ public function update_attachment_meta( $id, $item ) { if ( ! empty( $item['meta'] ) ) { // Only allow meta properties defined in the schema. - // None of the validation or sanization functions are doing this for me. + // None of the validation or sanitization functions are doing this for me. $meta_allowed = array_keys( $this->media_schema['properties']['meta']['properties'] ); $meta_filtered = array_intersect_key( $item['meta'], array_flip( $meta_allowed ) );