From 02f3628e206afde868e2dc22507c8fff3a4782c4 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Thu, 21 Jul 2022 04:25:13 +0000 Subject: [PATCH] Embeds: Add Pocket Casts as a trusted oEmbed provider. Props mattwondra, peterwilsoncc, pento, audrasjb. Fixes #55860. Built from https://develop.svn.wordpress.org/trunk@53744 git-svn-id: http://core.svn.wordpress.org/trunk@53303 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-oembed.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/class-wp-oembed.php b/wp-includes/class-wp-oembed.php index 4e83bc75da..ce75a4f196 100644 --- a/wp-includes/class-wp-oembed.php +++ b/wp-includes/class-wp-oembed.php @@ -104,6 +104,7 @@ class WP_oEmbed { '#https?://(www\.)?tiktok\.com/.*/video/.*#i' => array( 'https://www.tiktok.com/oembed', true ), '#https?://([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?/.*#i' => array( 'https://www.pinterest.com/oembed.json', true ), '#https?://(www\.)?wolframcloud\.com/obj/.+#i' => array( 'https://www.wolframcloud.com/oembed', true ), + '#https?://pca\.st/.+#i' => array( 'https://pca.st/oembed.json', true ), ); if ( ! empty( self::$early_providers['add'] ) ) { @@ -181,6 +182,7 @@ class WP_oEmbed { * | TikTok | tiktok.com | 5.4.0 | * | Pinterest | pinterest.com | 5.9.0 | * | WolframCloud | wolframcloud.com | 5.9.0 | + * | Pocket Casts | pocketcasts.com | 6.1.0 | * * No longer supported providers: * diff --git a/wp-includes/version.php b/wp-includes/version.php index 68889f1fd0..bf9f4c25db 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53743'; +$wp_version = '6.1-alpha-53744'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.