Make WordPress Core

Ticket #38367: 38367.diff

File 38367.diff, 1.3 KB (added by ENDif Media, 8 years ago)
  • wp-includes/class-oembed.php

     
    108108                        '#https?://www\.facebook\.com/notes/.*#i'                  => array( 'https://www.facebook.com/plugins/post/oembed.json/',        true  ),
    109109                        '#https?://www\.facebook\.com/.*/videos/.*#i'              => array( 'https://www.facebook.com/plugins/video/oembed.json/',       true  ),
    110110                        '#https?://www\.facebook\.com/video\.php.*#i'              => array( 'https://www.facebook.com/plugins/video/oembed.json/',       true  ),
     111                        '#https?://(www\.)?screencast\.com/.*#i'              => array( 'https://api.screencast.com/external/oembed',
    111112                );
    112113
    113114                if ( ! empty( self::$early_providers['add'] ) ) {
     
    181182                 * | Twitter      | twitter.com/user      |      Yes       | 4.7.0     |
    182183                 * | Twitter      | twitter.com/likes     |      Yes       | 4.7.0     |
    183184                 * | Twitter      | twitter.com/lists     |      Yes       | 4.7.0     |
    184                  *
     185                 * | Screencast   | screencast.com        |      Yes       | 4.X.X     |
     186                 *≈
    185187                 * No longer supported providers:
    186188                 *
    187189                 * |   Provider   |        Flavor        | Supports HTTPS |   Since   |  Removed  |