Make WordPress Core

Changeset 40574


Ignore:
Timestamp:
05/06/2017 02:24:37 PM (7 years ago)
Author:
swissspidy
Message:

Embeds: Add screencast.com to oEmbed provider whitelist.

Props ENDif Media.
Fixes #38367.

File:
1 edited

Legend:

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

    r40026 r40574  
    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',                true  ),
    111112        );
    112113
     
    182183         * | Twitter      | twitter.com/likes     |      Yes       | 4.7.0     |
    183184         * | Twitter      | twitter.com/lists     |      Yes       | 4.7.0     |
     185         * | Screencast   | screencast.com        |      Yes       | 4.8.0     |
    184186         *
    185187         * No longer supported providers:
Note: See TracChangeset for help on using the changeset viewer.