Skip to content

Commit

Permalink
Ensure core video block deprecations cannot be overriden
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Jul 2, 2019
1 parent 40e18f0 commit 2929703
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extensions/blocks/videopress/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const addVideoPressSupport = ( settings, name ) => {
save: settings.save,
isEligible: attrs => ! attrs.guid,
},
...( Array.isArray( settings.deprecated ) ? settings.deprecated : [] ),
],
};
}
Expand Down

0 comments on commit 2929703

Please sign in to comment.