From 6bb5f0903f2d7a80bc8cea36f7fe517d18bc1980 Mon Sep 17 00:00:00 2001 From: Mike Little Date: Fri, 1 Nov 2024 15:13:13 +0000 Subject: [PATCH] Fixes spelling of Elasticsearch. This change corrects the spelling of Elasticsearch. Fixes https://github.com/humanmade/product-dev/issues/1644 --- inc/namespace.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/namespace.php b/inc/namespace.php index 26c840f..39a834b 100644 --- a/inc/namespace.php +++ b/inc/namespace.php @@ -21,7 +21,7 @@ function bootstrap() { add_action( 'plugins_loaded', __NAMESPACE__ . '\\load_plugins', 1 ); - // Remove AWS_Rekognition filter for performance purposes, as ElasticSearch is used instead. + // Remove AWS_Rekognition filter for performance purposes, as Elasticsearch is used instead. add_action( 'plugins_loaded', function () { remove_filter( 'posts_clauses', 'HM\\AWS_Rekognition\\filter_query_attachment_keywords' ); }, 11 ); @@ -109,7 +109,7 @@ function override_aws_rekognition_aws_client( $client, array $params ) : Rekogni /** * Add rekognition keywords to the search index. * - * @param array $post_data Data to be indexed in ElasticSearch. + * @param array $post_data Data to be indexed in Elasticsearch. * @param integer $post_id The current post ID. * @return array */