From a10aa6c53c85d62701d4d757bb590fa525677075 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 24 Jun 2014 15:55:37 +0000 Subject: [PATCH] Merge two Animoto oEmbed patterns. props kovshenin. see #28265. git-svn-id: https://develop.svn.wordpress.org/trunk@28822 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-oembed.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-includes/class-oembed.php b/src/wp-includes/class-oembed.php index 11f35381bd..3bcbc3d72c 100644 --- a/src/wp-includes/class-oembed.php +++ b/src/wp-includes/class-oembed.php @@ -62,8 +62,7 @@ class WP_oEmbed { '#https?://(www\.)?collegehumor\.com/video/.*#i' => array( 'http://www.collegehumor.com/oembed.{format}', true ), '#https?://(www\.)?mixcloud\.com/.*#i' => array( 'http://www.mixcloud.com/oembed', true ), '#https?://(www\.|embed\.)?ted\.com/talks/.*#i' => array( 'http://www.ted.com/talks/oembed.{format}', true ), - '#https?://(www\.)?animoto.com/play/.*#i' => array( 'http://animoto.com/oembeds/create', true ), - '#https?://(www\.)?video214.com/play/.*#i' => array( 'http://animoto.com/oembeds/create', true ), + '#https?://(www\.)?(animoto|video214)\.com/play/.*#i' => array( 'http://animoto.com/oembeds/create', true ), ); /**