Make WordPress Core

Ticket #23171: 23171.patch

File 23171.patch, 1.0 KB (added by sennza, 12 years ago)
  • wp-includes/class-oembed.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    5151                        '#https?://(www\.)?soundcloud\.com/.*#i'             => array( 'http://soundcloud.com/oembed',                      true  ),
    5252                        '#https?://(www\.)?slideshare.net/*#'                => array( 'http://www.slideshare.net/api/oembed/2',            true  ),
    5353                        '#http://instagr(\.am|am\.com)/p/.*#i'               => array( 'http://api.instagram.com/oembed',                   true  ),
     54                        'http://www.meetup.com/*'                           => array( 'http://api.meetup.com/oembed?url=',                  false ),
     55                        'http://meetup.com/*'                               => array( 'http://api.meetup.com/oembed?url=',                  false ),
    5456                ) );
    5557
    5658                // Fix any embeds that contain new lines in the middle of the HTML which breaks wpautop().