WordPress.org

Make WordPress Core

Changeset 28595


Ignore:
Timestamp:
05/27/14 21:54:24 (4 years ago)
Author:
wonderboymusic
Message:

Update the Scribd oEmbed pattern to more actually represent which endpoints from the site are discoverable.

See #28379.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-oembed.php

    r28593 r28595  
    4646            'http://i*.photobucket.com/albums/*'                  => array( 'http://photobucket.com/oembed',                      false ), 
    4747            'http://gi*.photobucket.com/groups/*'                 => array( 'http://photobucket.com/oembed',                      false ), 
    48             '#https?://(www\.)?scribd\.com/.*#i'                  => array( 'http://www.scribd.com/services/oembed',              true  ), 
     48            '#https?://(www\.)?scribd\.com/doc/.*#i'              => array( 'http://www.scribd.com/services/oembed',              true  ), 
    4949            'http://wordpress.tv/*'                               => array( 'http://wordpress.tv/oembed/',                        false ), 
    5050            '#https?://(.+\.)?polldaddy\.com/.*#i'                => array( 'http://polldaddy.com/oembed/',                       true  ), 
Note: See TracChangeset for help on using the changeset viewer.