From 27aef0bfc5656a8ea19cd477f6aa1dc68301187d Mon Sep 17 00:00:00 2001 From: Andrew Serong <14988353+andrewserong@users.noreply.github.com> Date: Thu, 30 Sep 2021 16:48:23 +1000 Subject: [PATCH] Update MediaUpload docs to fix the name of the filter that is used --- packages/block-editor/src/components/media-upload/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/media-upload/README.md b/packages/block-editor/src/components/media-upload/README.md index 31db78ca41598..3e951c2e1c283 100644 --- a/packages/block-editor/src/components/media-upload/README.md +++ b/packages/block-editor/src/components/media-upload/README.md @@ -4,7 +4,7 @@ MediaUpload is a React component used to render a button that opens the WordPres ## Setup -This is a placeholder component necessary to make it possible to provide an integration with the core blocks that handle media files. By default it renders nothing but it provides a way to have it overridden with the `components.MediaUpload` filter. +This is a placeholder component necessary to make it possible to provide an integration with the core blocks that handle media files. By default it renders nothing but it provides a way to have it overridden with the `editor.MediaUpload` filter. ```jsx import { addFilter } from '@wordpress/hooks';