Make WordPress Core


Ignore:
Timestamp:
05/28/2014 01:31:22 PM (11 years ago)
Author:
SergeyBiryukov
Message:

Fix SlideShare oEmbed regex.

props kovshenin.
fixes #28380.

File:
1 edited

Legend:

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

    r28596 r28597  
    5252            '#https?://(www\.)?twitter\.com/.+?/status(es)?/.*#i' => array( 'https://api.twitter.com/1/statuses/oembed.{format}', true  ),
    5353            '#https?://(www\.)?soundcloud\.com/.*#i'              => array( 'http://soundcloud.com/oembed',                       true  ),
    54             '#https?://(www\.)?slideshare\.net/*#'                => array( 'http://www.slideshare.net/api/oembed/2',             true  ),
     54            '#https?://(www\.)?slideshare\.net/.*#i'              => array( 'http://www.slideshare.net/api/oembed/2',             true  ),
    5555            '#http://instagr(\.am|am\.com)/p/.*#i'                => array( 'http://api.instagram.com/oembed',                    true  ),
    5656            '#https?://(www\.)?rdio\.com/.*#i'                    => array( 'http://www.rdio.com/api/oembed/',                    true  ),
Note: See TracChangeset for help on using the changeset viewer.