Make WordPress Core

Changeset 63907


Ignore:
Timestamp:
09/23/2026 11:25:28 PM (8 weeks ago)
Author:
whyisjake
Message:

Embeds: Update the ReverbNation oEmbed endpoint.

ReverbNation has moved its site and oEmbed API to the legacy.reverbnation.com subdomain. The previous www.reverbnation.com/oembed endpoint returns a 404 Not Found response and does not redirect, so embeds of artist and song URLs stopped working. This points the provider at the new endpoint and extends the URL pattern to match legacy.reverbnation.com, which www.reverbnation.com URLs now redirect to.

Props johnbillion, yogeshbhutkar, arkaprabhachowdhury, adamsilverstein.
Fixes #66079.

File:
1 edited

Legend:

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

    r63904 r63907  
    8989                        '#https?://kck\.st/.*#i'                       => array( 'https://www.kickstarter.com/services/oembed', true ),
    9090                        '#https?://cloudup\.com/.*#i'                  => array( 'https://cloudup.com/oembed', true ),
    91                         '#https?://(www\.)?reverbnation\.com/.*#i'     => array( 'https://www.reverbnation.com/oembed', true ),
     91                        '#https?://((legacy|www)\.)?reverbnation\.com/.*#i' => array( 'https://legacy.reverbnation.com/oembed', true ),
    9292                        '#https?://videopress\.com/v/.*#'              => array( 'https://public-api.wordpress.com/oembed/?for=' . $host, true ),
    9393                        '#https?://(www\.)?reddit\.com/r/[^/]+/comments/.*#i' => array( 'https://www.reddit.com/oembed', true ),
Note: See TracChangeset for help on using the changeset viewer.