From 3077d883cfb6dfcedcdd0a7cb80431d1bf07e6bc Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Thu, 8 Jun 2023 13:28:20 +0000 Subject: [PATCH] Embeds: Add support for TikTok creator profiles. Follow-up to initial support in [47216] / #49083. Props mukesh27, anveshika, Ankit K Gupta. Fixes #55784. Built from https://develop.svn.wordpress.org/trunk@55897 git-svn-id: http://core.svn.wordpress.org/trunk@55409 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-oembed.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/class-wp-oembed.php b/wp-includes/class-wp-oembed.php index 20ee37625a..35cf16e74a 100644 --- a/wp-includes/class-wp-oembed.php +++ b/wp-includes/class-wp-oembed.php @@ -105,6 +105,7 @@ class WP_oEmbed { '#https?://www\.someecards\.com/usercards/viewcard/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ), '#https?://some\.ly\/.+#i' => array( 'https://www.someecards.com/v2/oembed/', true ), '#https?://(www\.)?tiktok\.com/.*/video/.*#i' => array( 'https://www.tiktok.com/oembed', true ), + '#https?://(www\.)?tiktok\.com/@.*#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 ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 6bcbc0aaa4..c5ea41f11d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55896'; +$wp_version = '6.3-alpha-55897'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.