Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Featured Image, Title and Excerpt to top of the settings sidebar #42352

Closed
3 changes: 2 additions & 1 deletion packages/editor/src/components/post-featured-image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ const applyWithDispatch = withDispatch(
onUpdateImage( image ) {
editPost( { featured_media: image.id } );
},
// todo: this is dead code, but I suppose we can't remove it because of the filter?
// This is dead code, but can't be removed, as third parties using
// the 'editor.PostFeaturedImage' filter might rely on it.
noisysocks marked this conversation as resolved.
Show resolved Hide resolved
onDropImage( filesList ) {
select( blockEditorStore )
.getSettings()
Expand Down