Skip to content

Commit a36c7d5

Browse files
committed
Fix typos
1 parent 01987fb commit a36c7d5

File tree

18 files changed

+22
-22
lines changed

18 files changed

+22
-22
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ ElasticPress 4.5.0 release highlights:
619619
- Facets styles not enqueued more than once. Props [@felipeelia](https://github.com/felipeelia) and [@MediaMaquina](https://github.com/MediaMaquina) via [#3306](https://github.com/10up/ElasticPress/pull/3306).
620620
- Duplicate terms listed in Instant Results facets. Props [@felipeelia](https://github.com/felipeelia) via [#3335](https://github.com/10up/ElasticPress/pull/3335).
621621
- Not setting the post context when indexing a post. Props [@tomjn](https://github.com/tomjn) via [#3333](https://github.com/10up/ElasticPress/pull/3333).
622-
- Some utilitary methods in the Command class treated as WP-CLI Commands. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia) via [#3320](https://github.com/10up/ElasticPress/pull/3320).
622+
- Some utility methods in the Command class treated as WP-CLI Commands. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia) via [#3320](https://github.com/10up/ElasticPress/pull/3320).
623623
- Make the "Failed Queries" notice dismissible. Props [@oscarssanchez](https://github.com/oscarssanchez) and [@felipeelia](https://github.com/felipeelia) via [#3348](https://github.com/10up/ElasticPress/pull/3348).
624624
- Undefined index `'elasticpress'` in the Status Report page. Props [@MARQAS](https://github.com/MARQAS) via [#3374](https://github.com/10up/ElasticPress/pull/3374).
625625
- Undefined array key `'displayCount'` error for facet. Props [@burhandodhy](https://github.com/burhandodhy) via [#3373](https://github.com/10up/ElasticPress/pull/3373).
@@ -2097,7 +2097,7 @@ This is a bug fix release with some filter additions.
20972097
### Added
20982098
- Blog id to `ep_index_name` filter. Props [@kovshenin](https://github.com/kovshenin)
20992099
- Support post caching in search
2100-
- Recursive term indexing for heirarchal taxonomies. Props [@tuanmh](https://github.com/tuanmh)
2100+
- Recursive term indexing for hierarchical taxonomies. Props [@tuanmh](https://github.com/tuanmh)
21012101
- Enable indexing of attachments
21022102
- Support fallback hosts in case main EP host is unavailable. Props [@chriswiegman](https://github.com/chriswiegman)
21032103
- `ep_retrieve_the_post` filter to support relevancy score manipulation. Props [@matthewspencer](https://github.com/matthewspencer)

assets/js/sync-ui/components/include.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default () => {
3131
};
3232

3333
/**
34-
* Santitize IDs entered into the include field.
34+
* Sanitize IDs entered into the include field.
3535
*
3636
* The FormTokenField component requires string values, so return an empty
3737
* string for non-numerical values.

includes/classes/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ public function custom_get_transient( $pre_transient, $transient ) {
12861286
}
12871287

12881288
/**
1289-
* Utilitary function to render Stats for a given index.
1289+
* Utility function to render Stats for a given index.
12901290
*
12911291
* @since 3.5.6
12921292
* @param string $current_index The index name.

includes/classes/ElasticPressIo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function get_endpoint_available_services( $skip_cache = false ): array {
106106

107107
$endpoint_status = $this->get_endpoint_status( $skip_cache );
108108

109-
return $endpoint_status['avaiableServices'] ?? [];
109+
return $endpoint_status['availableServices'] ?? [];
110110
}
111111

112112
/**

includes/classes/Feature/Facets/Facets.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ public function apply_facets_filters( $filters, $args, $query ) {
694694
}
695695

696696
/**
697-
* Utilitary function to retrieve the match type selected by the user.
697+
* Utility function to retrieve the match type selected by the user.
698698
*
699699
* @since 4.4.0
700700
* @return string

includes/classes/IndexHelper.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ protected function output_index_errors( $failed_objects ) {
10911091
}
10921092

10931093
/**
1094-
* Utilitary function to check if the indexable is being fully reindexed, i.e.,
1094+
* Utility function to check if the indexable is being fully reindexed, i.e.,
10951095
* the index was deleted, a new mapping was sent and content is being reindexed.
10961096
*
10971097
* @param string $indexable_slug Indexable slug.
@@ -1325,7 +1325,7 @@ protected function stop_the_insanity() {
13251325
}
13261326

13271327
/**
1328-
* Utilitary function to delete the index meta option.
1328+
* Utility function to delete the index meta option.
13291329
*
13301330
* @since 4.0.0
13311331
*/
@@ -1338,7 +1338,7 @@ public function clear_index_meta() {
13381338
}
13391339

13401340
/**
1341-
* Utilitary function to get the index meta option.
1341+
* Utility function to get the index meta option.
13421342
*
13431343
* @return array
13441344
* @since 4.0.0

includes/classes/Indexable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ public function compare_mappings() {
11751175
}
11761176

11771177
/**
1178-
* Utilitary function to check if the indexable is being fully reindexed, i.e.,
1178+
* Utility function to check if the indexable is being fully reindexed, i.e.,
11791179
* the index was deleted, a new mapping was sent and content is being reindexed.
11801180
*
11811181
* @param int|null $blog_id Blog ID

includes/compat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct( $code, $message = null ) {
3030
* Returns the status of a feature
3131
*
3232
* 0 is no issues
33-
* 1 is usable but there are warnngs
33+
* 1 is usable but there are warnings
3434
* 2 is not usable
3535
*
3636
* @var int

tests/e2e/src/specs/search/synonyms.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ test.describe('Post Search Feature - Synonyms Functionality', { tag: '@group2' }
418418
await expect(loggedInPage.locator('article h2', { hasText: 'Banner' })).toBeVisible();
419419

420420
/**
421-
* In the advanced editor, replacements hould be represented as
421+
* In the advanced editor, replacements should be represented as
422422
* expected.
423423
*/
424424
await goToAdminPage(loggedInPage, 'admin.php?page=elasticpress-synonyms');

tests/e2e/src/specs/status-report.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ test.describe('Status Report', { tag: '@group1' }, () => {
6767
"message": "Testing message"
6868
}
6969
],
70-
"avaiableServices": {
70+
"availableServices": {
7171
"vectorEmbeddings": false
7272
}
7373
}`,

0 commit comments

Comments
 (0)