Make WordPress Core

Ticket #46067: 46067.2.diff

File 46067.2.diff, 1.7 KB (added by spacedmonkey, 7 years ago)
  • src/wp-includes/class-oembed.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    114114                        '#https?://www\.someecards\.com/.+-cards/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ),
    115115                        '#https?://www\.someecards\.com/usercards/viewcard/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ),
    116116                        '#https?://some\.ly\/.+#i'                     => array( 'https://www.someecards.com/v2/oembed/', true ),
     117                        '#https?://giphy\.com/gifs/.+#i'                => array( 'https://giphy.com/services/oembed', true ),
     118                        '#https?://gph\.is/.+#i'                        => array( 'https://giphy.com/services/oembed', true ),
     119                        '#https?://media\.giphy\.com/media/.*/giphy\.gif.*#i' => array( 'https://giphy.com/services/oembed', true ),
    117120                );
    118121
    119122                if ( ! empty( self::$early_providers['add'] ) ) {
     
    197200                 * | Crowdsignal  | survey.fm                                 |      Yes       | 5.1.0   |
    198201                 * | Instagram TV | instagram.com                             |      Yes       | 5.1.0   |
    199202                 * | Instagram TV | instagr.am                                |      Yes       | 5.1.0   |
     203                 * | Giphy        | giphy.com                                 |      Yes       | 5.1.0   |
     204                 * | Giphy        | gph.is                                    |      Yes       | 5.1.0   |
     205                 * | Giphy        | media.giphy.com/media                     |      Yes       | 5.1.0   |
    200206                 *
    201207                 * No longer supported providers:
    202208                 *