Make WordPress Core


Ignore:
Timestamp:
03/05/2015 08:12:31 PM (10 years ago)
Author:
wonderboymusic
Message:

Add oEmbed support for Tumblr.

Props elliottcarlson.
See #31180.

File:
1 edited

Legend:

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

    r31423 r31630  
    6868            '#https?://(www\.|embed\.)?ted\.com/talks/.*#i'       => array( 'http://www.ted.com/talks/oembed.{format}',           true  ),
    6969            '#https?://(www\.)?(animoto|video214)\.com/play/.*#i' => array( 'http://animoto.com/oembeds/create',                  true  ),
     70            '#https?://(.+)\.tumblr\.com/post/.*#i'               => array( 'https://www.tumblr.com/oembed/1.0',                  true  ),
    7071        );
    7172
     
    139140         * | Vine         | vine.co              |  Yes  | 4.1.0     |
    140141         * | ------------ | -------------------- | ----- | --------- |
    141          *
     142         * | Tumblr        | tumblr.com          |  Yes  | 4.2.0     |
     143         * | ------------ | -------------------- | ----- | --------- |
     144         *
    142145         * No longer supported providers:
    143146         *
Note: See TracChangeset for help on using the changeset viewer.