From c5790a80fcedfd192ebc3d430e4bfb3a5bf9b64b Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 27 May 2014 21:55:14 +0000 Subject: [PATCH] Update the Scribd oEmbed pattern to more actually represent which endpoints from the site are discoverable. See #28379. Built from https://develop.svn.wordpress.org/trunk@28595 git-svn-id: http://core.svn.wordpress.org/trunk@28420 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-oembed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index 618cdba4fe..2f00687984 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -45,7 +45,7 @@ class WP_oEmbed { 'http://revision3.com/*' => array( 'http://revision3.com/api/oembed/', false ), 'http://i*.photobucket.com/albums/*' => array( 'http://photobucket.com/oembed', false ), 'http://gi*.photobucket.com/groups/*' => array( 'http://photobucket.com/oembed', false ), - '#https?://(www\.)?scribd\.com/.*#i' => array( 'http://www.scribd.com/services/oembed', true ), + '#https?://(www\.)?scribd\.com/doc/.*#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 ),