Make WordPress Core


Ignore:
Timestamp:
02/01/2023 09:43:27 PM (22 months ago)
Author:
audrasjb
Message:

Embeds: Add oEmbed support for crowdsignal.net surveys.

Crowdsignal has a block-editor powered survey/project editor. Surveys created using this editor appear on *.crowdsignal.net when published. This changeset adds oEmbed support for these URLs to embed Crowdsignal surveys.

Props donncha, audrasjb, Mamaduka, ntsekouras.
Fixes #57543.

File:
1 edited

Legend:

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

    r55068 r55182  
    6464            '#https?://(www\.)?scribd\.com/(doc|document)/.*#i' => array( 'https://www.scribd.com/services/oembed', true ),
    6565            '#https?://wordpress\.tv/.*#i'                 => array( 'https://wordpress.tv/oembed/', true ),
     66            '#https?://(.+\.)?crowdsignal\.net/.*#i'       => array( 'https://api.crowdsignal.com/oembed', true ),
    6667            '#https?://(.+\.)?polldaddy\.com/.*#i'         => array( 'https://api.crowdsignal.com/oembed', true ),
    6768            '#https?://poll\.fm/.*#i'                      => array( 'https://api.crowdsignal.com/oembed', true ),
     
    185186         * | WolframCloud | wolframcloud.com                          | 5.9.0   |
    186187         * | Pocket Casts | pocketcasts.com                           | 6.1.0   |
     188         * | Crowdsignal  | crowdsignal.net                           | 6.2.0   |
    187189         *
    188190         * No longer supported providers:
Note: See TracChangeset for help on using the changeset viewer.