Skip to content

Commit

Permalink
Add a filter for editor.FeaturedImage
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Silverstein committed Jul 6, 2018
1 parent 6edaf68 commit c1b72c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion edit-post/components/sidebar/featured-image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { get, partial } from 'lodash';
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { PanelBody } from '@wordpress/components';
import { PanelBody, withFilters } from '@wordpress/components';
import { PostFeaturedImage, PostFeaturedImageCheck } from '@wordpress/editor';
import { compose } from '@wordpress/element';
import { withSelect, withDispatch } from '@wordpress/data';
Expand Down Expand Up @@ -57,4 +57,5 @@ const applyWithDispatch = withDispatch( ( dispatch ) => {
export default compose(
applyWithSelect,
applyWithDispatch,
withFilters( 'editor.FeaturedImage' ),
)( FeaturedImage );

0 comments on commit c1b72c9

Please sign in to comment.