Embeds: Update the Crowdsignal embed handler so that surveys on subdomains are supported.
Props kraftbj Fixes #46467 git-svn-id: https://develop.svn.wordpress.org/trunk@45061 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
de91abb11f
commit
beb4a31c36
|
@ -64,7 +64,7 @@ class WP_oEmbed {
|
|||
'#https?://wordpress\.tv/.*#i' => array( 'https://wordpress.tv/oembed/', true ),
|
||||
'#https?://(.+\.)?polldaddy\.com/.*#i' => array( 'https://api.crowdsignal.com/oembed', true ),
|
||||
'#https?://poll\.fm/.*#i' => array( 'https://api.crowdsignal.com/oembed', true ),
|
||||
'#https?://survey\.fm/.*#i' => array( 'https://api.crowdsignal.com/oembed', true ),
|
||||
'#https?://(.+\.)?survey\.fm/.*#i' => array( 'https://api.crowdsignal.com/oembed', true ),
|
||||
'#https?://(www\.)?twitter\.com/\w{1,15}/status(es)?/.*#i' => array( 'https://publish.twitter.com/oembed', true ),
|
||||
'#https?://(www\.)?twitter\.com/\w{1,15}$#i' => array( 'https://publish.twitter.com/oembed', true ),
|
||||
'#https?://(www\.)?twitter\.com/\w{1,15}/likes$#i' => array( 'https://publish.twitter.com/oembed', true ),
|
||||
|
|
Loading…
Reference in New Issue