Skip to content

Commit

Permalink
Docs: Fix typos (#16468)
Browse files Browse the repository at this point in the history
* Fix typos

* Wheter -> Whether
  • Loading branch information
Soean authored Jul 8, 2019
1 parent 65ba28b commit af888f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ _Parameters_

_Returns_

- `Array<Object>`: Wheter block type matches search term.
- `Array<Object>`: Whether block type matches search term.


<!-- END TOKEN(Autogenerated selectors) -->
Expand Down
2 changes: 1 addition & 1 deletion docs/designers-developers/developers/slotfills/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<PluginPostStatusInfo.Slot>` 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 `<PostAuthor/>` and `<PostTrash/>` 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 `<PostAuthor/>` and `<PostTrash/>` components.

See [core code](https://github.com/WordPress/gutenberg/tree/master/packages/edit-post/src/components/sidebar/post-status/index.js#L26).

Expand Down
2 changes: 1 addition & 1 deletion packages/blocks/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit af888f4

Please sign in to comment.