From af888f4f60ccada88a86c780bebbcb21b37bb7d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Wrede?= Date: Tue, 9 Jul 2019 01:04:27 +0200 Subject: [PATCH] Docs: Fix typos (#16468) * Fix typos * Wheter -> Whether --- docs/designers-developers/developers/data/data-core-blocks.md | 2 +- docs/designers-developers/developers/slotfills/README.md | 2 +- packages/blocks/src/store/selectors.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/designers-developers/developers/data/data-core-blocks.md b/docs/designers-developers/developers/data/data-core-blocks.md index b1d377ed11a6f..5c6806fa70703 100644 --- a/docs/designers-developers/developers/data/data-core-blocks.md +++ b/docs/designers-developers/developers/data/data-core-blocks.md @@ -186,7 +186,7 @@ _Parameters_ _Returns_ -- `Array`: Wheter block type matches search term. +- `Array`: Whether block type matches search term. diff --git a/docs/designers-developers/developers/slotfills/README.md b/docs/designers-developers/developers/slotfills/README.md index 50c23ac616c1c..61e642658a035 100644 --- a/docs/designers-developers/developers/slotfills/README.md +++ b/docs/designers-developers/developers/slotfills/README.md @@ -68,7 +68,7 @@ export default PluginPostStatusInfo; This new Slot is then exposed in the editor. The example below is from core and represents the Status & Visibility panel. As we can see, the `` is wrapping all of the items that will appear in the panel. -Any items that have been added via the SlotFill ( see the example above ), will be included in the `fills` parameter and be displayed betwee the `` and `` components. +Any items that have been added via the SlotFill ( see the example above ), will be included in the `fills` parameter and be displayed between the `` and `` components. See [core code](https://github.com/WordPress/gutenberg/tree/master/packages/edit-post/src/components/sidebar/post-status/index.js#L26). diff --git a/packages/blocks/src/store/selectors.js b/packages/blocks/src/store/selectors.js index 25fe40ca9f611..cb9333e3f6ff1 100644 --- a/packages/blocks/src/store/selectors.js +++ b/packages/blocks/src/store/selectors.js @@ -177,7 +177,7 @@ export function hasBlockSupport( state, nameOrType, feature, defaultSupports ) { * @param {(string|Object)} nameOrType Block name or type object. * @param {string} searchTerm Search term by which to filter. * - * @return {Object[]} Wheter block type matches search term. + * @return {Object[]} Whether block type matches search term. */ export function isMatchingSearchTerm( state, nameOrType, searchTerm ) { const blockType = getNormalizedBlockType( state, nameOrType );