Make WordPress Core

Changeset 28651


Ignore:
Timestamp:
06/02/2014 12:45:12 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Add oEmbed support for TED talks.

props pdclark.
fixes #28285.

File:
1 edited

Legend:

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

    r28597 r28651  
    6262            '#https?://(www\.)?collegehumor\.com/video/.*#i'      => array( 'http://www.collegehumor.com/oembed.{format}',        true  ),
    6363            '#https?://(www\.)?mixcloud\.com/.*#i'                => array( 'http://www.mixcloud.com/oembed',                     true  ),
     64            '#https?://(www\.|embed\.)?ted\.com/talks/.*#i'       => array( 'http://www.ted.com/talks/oembed.{format}',           true  ),
    6465        );
    6566
Note: See TracChangeset for help on using the changeset viewer.