Skip to content

Commit

Permalink
Remove CollegeHumor from embed providers (#18591)
Browse files Browse the repository at this point in the history
* Remove CollegeHumor from embed provider since the service doesn’t exists anymore.

* Update deprecation logic

* Update deprecated pattterns

* Remove unwanted patterns

* lint fixes

* undo unwanted changes in package-lock.json

* remove unwanted changes, second pass

* Remove CollegeHumor from embed provider since the service doesn’t exists anymore.

* Update deprecation logic

* Update deprecated pattterns

* Remove unwanted patterns

* lint fixes

* undo unwanted changes in package-lock.json

* remove unwanted changes, second pass
  • Loading branch information
audrasjb authored and gziolo committed Nov 22, 2019
1 parent 2f68f28 commit 2529722
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/block-library/src/embed/core-embeds.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,17 @@ export const others = [
patterns: [ /^https?:\/\/cloudup\.com\/.+/i ],
},
{
// Deprecated since CollegeHumor content is now powered by YouTube
name: 'core-embed/collegehumor',
settings: {
title: 'CollegeHumor',
icon: embedVideoIcon,
description: __( 'Embed CollegeHumor content.' ),
supports: {
inserter: false,
},
},
patterns: [ /^https?:\/\/(www\.)?collegehumor\.com\/.+/i ],
patterns: [],
},
{
name: 'core-embed/crowdsignal',
Expand Down

0 comments on commit 2529722

Please sign in to comment.