diff --git a/wp-includes/class-oembed.php b/wp-includes/class-oembed.php index 8582fa8a7a..7e9d0611ac 100644 --- a/wp-includes/class-oembed.php +++ b/wp-includes/class-oembed.php @@ -60,7 +60,7 @@ class WP_oEmbed { '#https?://flic\.kr/.*#i' => array( 'https://www.flickr.com/services/oembed/', true ), '#https?://(.+\.)?smugmug\.com/.*#i' => array( 'https://api.smugmug.com/services/oembed/', true ), '#https?://(www\.)?hulu\.com/watch/.*#i' => array( 'http://www.hulu.com/api/oembed.{format}', true ), - '#https?://(www\.)?scribd\.com/doc/.*#i' => array( 'https://www.scribd.com/services/oembed', true ), + '#https?://(www\.)?scribd\.com/(doc|document)/.*#i' => array( 'https://www.scribd.com/services/oembed', true ), '#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 ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 0c9f2a7b71..5234d199cb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-alpha-45023'; +$wp_version = '5.2-alpha-45024'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.