From fe044c84f73eb07b0f05b18b48dcdc5c764407d3 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 22 May 2014 23:13:14 +0000 Subject: [PATCH] Support Polldaddy's short URL format as a whitelisted oEmbed provider. Props donncha. Fixes #28283. Built from https://develop.svn.wordpress.org/trunk@28555 git-svn-id: http://core.svn.wordpress.org/trunk@28381 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-oembed.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index 1cc9c31539..9d9de56baa 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -46,6 +46,7 @@ class WP_oEmbed { '#https?://(www\.)?scribd\.com/.*#i' => array( 'http://www.scribd.com/services/oembed', true ), 'http://wordpress.tv/*' => array( 'http://wordpress.tv/oembed/', false ), '#https?://(.+\.)?polldaddy\.com/.*#i' => array( 'http://polldaddy.com/oembed/', true ), + '#https?://poll\.fm/.*#i' => array( 'http://polldaddy.com/oembed/', true ), '#https?://(www\.)?funnyordie\.com/videos/.*#i' => array( 'http://www.funnyordie.com/oembed', true ), '#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i' => array( 'https://api.twitter.com/1/statuses/oembed.{format}', true ), '#https?://(www\.)?soundcloud\.com/.*#i' => array( 'http://soundcloud.com/oembed', true ),