WordPress.org

Make WordPress Core

Ticket #26278: 26278.2.diff

File 26278.2.diff, 777 bytes (added by markjaquith, 2 years ago)
  • src/wp-includes/class-oembed.php

    diff --git src/wp-includes/class-oembed.php src/wp-includes/class-oembed.php
    index 401fedc..18c2490 100644
    class WP_oEmbed { 
    7373                        '#https?://(.+)\.tumblr\.com/post/.*#i'               => array( 'https://www.tumblr.com/oembed/1.0',                  true  ), 
    7474                        '#https?://(www\.)?kickstarter\.com/projects/.*#i'    => array( 'https://www.kickstarter.com/services/oembed',        true  ), 
    7575                        '#https?://kck\.st/.*#i'                              => array( 'https://www.kickstarter.com/services/oembed',        true  ), 
     76                        '#https?://cloudup\.com/.*#i'                         => array( 'https://cloudup.com/oembed', true ), 
    7677                ); 
    7778 
    7879                if ( ! empty( self::$early_providers['add'] ) ) {