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
This commit is contained in:
parent
ee43d258c2
commit
fe044c84f7
|
@ -46,6 +46,7 @@ class WP_oEmbed {
|
||||||
'#https?://(www\.)?scribd\.com/.*#i' => array( 'http://www.scribd.com/services/oembed', true ),
|
'#https?://(www\.)?scribd\.com/.*#i' => array( 'http://www.scribd.com/services/oembed', true ),
|
||||||
'http://wordpress.tv/*' => array( 'http://wordpress.tv/oembed/', false ),
|
'http://wordpress.tv/*' => array( 'http://wordpress.tv/oembed/', false ),
|
||||||
'#https?://(.+\.)?polldaddy\.com/.*#i' => array( 'http://polldaddy.com/oembed/', true ),
|
'#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\.)?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\.)?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 ),
|
'#https?://(www\.)?soundcloud\.com/.*#i' => array( 'http://soundcloud.com/oembed', true ),
|
||||||
|
|
Loading…
Reference in New Issue