Make WordPress Core

Changeset 29110


Ignore:
Timestamp:
07/11/2014 11:00:36 PM (11 years ago)
Author:
johnbillion
Message:

Add support for secure wordpress.tv embeds (thanks stephdau). See #28507.

File:
1 edited

Legend:

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

    r29012 r29110  
    4747            'http://gi*.photobucket.com/groups/*'                 => array( 'http://photobucket.com/oembed',                      false ),
    4848            '#https?://(www\.)?scribd\.com/doc/.*#i'              => array( 'http://www.scribd.com/services/oembed',              true  ),
    49             'http://wordpress.tv/*'                               => array( 'http://wordpress.tv/oembed/',                        false ),
     49            '#https?://wordpress.tv/.*#i'                         => array( 'http://wordpress.tv/oembed/',                        true ),
    5050            '#https?://(.+\.)?polldaddy\.com/.*#i'                => array( 'http://polldaddy.com/oembed/',                       true  ),
    5151            '#https?://poll\.fm/.*#i'                             => array( 'http://polldaddy.com/oembed/',                       true  ),
Note: See TracChangeset for help on using the changeset viewer.