Skip to content

Commit a630f23

Browse files
Embeds: Scribd: Add support for /document/ URL format, in addition to /doc/.
Props manzoorwani.jk, neobabis, swissspidy. Fixes #46444. git-svn-id: https://develop.svn.wordpress.org/trunk@45024 602fd350-edb4-49c9-b593-d223f7449a82
1 parent b324c41 commit a630f23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/class-oembed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function __construct() {
6060
'#https?://flic\.kr/.*#i' => array( 'https://www.flickr.com/services/oembed/', true ),
6161
'#https?://(.+\.)?smugmug\.com/.*#i' => array( 'https://api.smugmug.com/services/oembed/', true ),
6262
'#https?://(www\.)?hulu\.com/watch/.*#i' => array( 'http://www.hulu.com/api/oembed.{format}', true ),
63-
'#https?://(www\.)?scribd\.com/doc/.*#i' => array( 'https://www.scribd.com/services/oembed', true ),
63+
'#https?://(www\.)?scribd\.com/(doc|document)/.*#i' => array( 'https://www.scribd.com/services/oembed', true ),
6464
'#https?://wordpress\.tv/.*#i' => array( 'https://wordpress.tv/oembed/', true ),
6565
'#https?://(.+\.)?polldaddy\.com/.*#i' => array( 'https://api.crowdsignal.com/oembed', true ),
6666
'#https?://poll\.fm/.*#i' => array( 'https://api.crowdsignal.com/oembed', true ),

0 commit comments

Comments
 (0)