WordPress.org

Make WordPress Core

Changeset 40901


Ignore:
Timestamp:
06/15/2017 05:37:51 AM (2 years ago)
Author:
swissspidy
Message:

Embeds: Update oEmbed endpoint URL for VideoPress.

Props NomNom99.
Fixes #41019.

File:
1 edited

Legend:

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

    r40628 r40901  
    9696            '#https?://cloudup\.com/.*#i'                              => array( 'https://cloudup.com/oembed',                                true  ),
    9797            '#https?://(www\.)?reverbnation\.com/.*#i'                 => array( 'https://www.reverbnation.com/oembed',                       true  ),
    98             '#https?://videopress\.com/v/.*#'                          => array( 'https://public-api.wordpress.com/oembed/1.0/?for=' . $host, true  ),
     98            '#https?://videopress\.com/v/.*#'                          => array( 'https://public-api.wordpress.com/oembed/?for=' . $host,    true  ),
    9999            '#https?://(www\.)?reddit\.com/r/[^/]+/comments/.*#i'      => array( 'https://www.reddit.com/oembed',                             true  ),
    100100            '#https?://(www\.)?speakerdeck\.com/.*#i'                  => array( 'https://speakerdeck.com/oembed.{format}',                   true  ),
Note: See TracChangeset for help on using the changeset viewer.