WordPress.org

Make WordPress Core

Changeset 19721


Ignore:
Timestamp:
01/09/2012 05:43:48 PM (6 years ago)
Author:
nacin
Message:

Add Twitter.com as an oEmbed provider. props Otto42. see #19626.

File:
1 edited

Legend:

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

    r19712 r19721  
    4848            '#http://(.+\.)?polldaddy\.com/.*#i'            => array( 'http://polldaddy.com/oembed/',             true  ),
    4949            '#http://(www\.)?funnyordie\.com/videos/.*#i'   => array( 'http://www.funnyordie.com/oembed',         true  ),
     50            '#https?://(www\.)?twitter.com/.+?/status(es)?/.*#i' => array( 'http://api.twitter.com/1/statuses/oembed.{format}', true ),
    5051        ) );
    5152
Note: See TracChangeset for help on using the changeset viewer.