WordPress.org

Make WordPress Core

Changeset 41025


Ignore:
Timestamp:
07/10/2017 11:19:38 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Embeds: Update oEmbed endpoint URL for VideoPress.

Props NomNom99.
Fixes #41019.

Merges [40901] to the 4.8 branch.

Location:
branches/4.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.8

  • branches/4.8/src/wp-includes/class-oembed.php

    r40628 r41025  
    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.